summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-27 12:25:30 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-27 12:41:32 +0100
commitd82987d12e96db887033deabb6c46f07db64e1b8 (patch)
tree85f74eff2b7b8fd47fe3c99677377a625effb8bb /proto
parent74d94167631ffd1b10709460510a1e3c8fc0e904 (diff)
RIP: Fix DBG output
Diffstat (limited to 'proto')
-rw-r--r--proto/rip/packets.c4
1 files changed, 3 insertions, 1 deletions
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);