]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Minor bugfix to compile bird in IPv6.
authorOndrej Filip <feela@network.cz>
Thu, 15 Jul 2004 17:28:13 +0000 (17:28 +0000)
committerOndrej Filip <feela@network.cz>
Thu, 15 Jul 2004 17:28:13 +0000 (17:28 +0000)
proto/rip/rip.c

index 5ff161fa10bac9b41812262406cf04032727d663..6c7bd3698c4a3fbeb7dfdc6724ec895a4e3da531 100644 (file)
@@ -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)