mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Minor bugfix to compile bird in IPv6.
This commit is contained in:
parent
b37bb5ce03
commit
004cf4fc0c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user