]> git.karo-electronics.de Git - karo-tx-linux.git/commit
batman-adv: print packets re-routing on DBG_TT and ratelimit it
authorAntonio Quartulli <ordex@autistici.org>
Sat, 25 Aug 2012 23:05:56 +0000 (01:05 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:43 +0000 (09:42 +0100)
commit60c39c7584e1bb69cdce4e0a9ee1e78ba09c82b9
tree50700fa886f2c8a8846f43e233af64412c725f89
parentfdf7932052209260ca2e7add4da4b74f57976336
batman-adv: print packets re-routing on DBG_TT and ratelimit it

To simplify TranslationTable debugging it is better to print the packet
rerouting message on the DBG_TT log level. In this way a developer interested in
packets rerouting doesn't need to filter it out of the whole ROUTES log.

Moreover, since this message will appear for each rerouted message, it is now
"ratelimited".

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/routing.c