From d82987d12e96db887033deabb6c46f07db64e1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Wed, 27 Jan 2016 12:25:30 +0100 Subject: [PATCH] RIP: Fix DBG output --- proto/rip/packets.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proto/rip/packets.c b/proto/rip/packets.c index e656af37..488ac9df 100644 --- a/proto/rip/packets.c +++ b/proto/rip/packets.c @@ -9,6 +9,8 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ +#undef LOCAL_DEBUG + #include "rip.h" #include "lib/md5.h" @@ -517,7 +519,7 @@ break_loop: void rip_send_table(struct rip_proto *p, struct rip_iface *ifa, ip_addr addr, bird_clock_t changed) { - DBG("RIP: Opening TX session to %I on %s\n", dst, ifa->iface->name); + DBG("RIP: Opening TX session to %I on %s\n", addr, ifa->iface->name); rip_reset_tx_session(p, ifa);