summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-15 19:28:13 +0200
committerOndrej Filip <feela@network.cz>2004-07-15 19:28:13 +0200
commit004cf4fc0ced85dba570173f372c51b1bf71dafe (patch)
tree9ec0992b901306106fe7365ac22b91880e88a894 /proto/rip
parentb37bb5ce03aed03d8b1bb0346f3277a93ff76da4 (diff)
downloadbird-004cf4fc0ced85dba570173f372c51b1bf71dafe.tar
bird-004cf4fc0ced85dba570173f372c51b1bf71dafe.zip
Minor bugfix to compile bird in IPv6.
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 5ff161f..6c7bd36 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -361,8 +361,14 @@ process_block( struct proto *p, struct rip_block *block, ip_addr whotoldme )
ip_addr network = block->network;
CHK_MAGIC;
+#ifdef IPV6
+ TRACE(D_ROUTES, "block: %I tells me: %I/%d available, metric %d... ",
+ whotoldme, network, block->pxlen, metric );
+#else
TRACE(D_ROUTES, "block: %I tells me: %I/%d available, metric %d... ",
whotoldme, network, ipa_mklen(block->netmask), metric );
+#endif
+
if ((!metric) || (metric > P_CF->infinity)) {
#ifdef IPV6 /* Someone is sedning us nexthop and we are ignoring it */
if (metric == 0xff)