summaryrefslogtreecommitdiffstats
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2013-10-22 19:10:21 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-04-01 17:27:58 +0200
commitf7bf41534e885c7bc077529c591a1bce24a5f1e9 (patch)
tree2c119e01872468b249bba44e5f7d20da67147756 /zebra/rt_socket.c
parentzebra: set metric for directly connected routes via netlink to 0 (diff)
downloadfrr-f7bf41534e885c7bc077529c591a1bce24a5f1e9.tar.xz
frr-f7bf41534e885c7bc077529c591a1bce24a5f1e9.zip
zebra: apply syntactic sugar to rib_dump()
strip the explicit __func__ present on all calls and make the prefix argument a transparent union. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 5d175d849..90ed73d0b 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -160,7 +160,7 @@ kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family)
{
zlog_debug ("%s: %s/%d: attention! gate not found for rib %p",
__func__, prefix_buf, p->prefixlen, rib);
- rib_dump (__func__, (struct prefix_ipv4 *)p, rib);
+ rib_dump (p, rib);
}
else
inet_ntop (AF_INET, &sin_gate.sin_addr, gate_buf, INET_ADDRSTRLEN);