]> git.puffer.fish Git - mirror/frr.git/commit
zebra: factor out rib debug logs
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 24 Apr 2014 18:22:53 +0000 (20:22 +0200)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:31 +0000 (20:38 -0400)
commit2263a41286fb5dc2331615ccb85131095998e796
treeb4a9cfc6b356bbd4d90a41033c1235dcbba7ba53
parentc5b37afc6bb4bccf170a9dd89ea80615375e1b66
zebra: factor out rib debug logs

Introduces a logging function that takes a struct route_node * argument,
and prefixes log output with that node's prefix.  While this removes
some duplication, it will also later be useful for srcdest route nodes.

Behaviour before and after the patch should be exactly identical.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/zebra_rib.c