mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
RIPv6 now works.
This commit is contained in:
parent
76c7efec63
commit
07f29765a5
@ -353,7 +353,11 @@ advertise_entry( struct proto *p, struct rip_block *b, ip_addr whotoldme )
|
||||
static void
|
||||
process_block( struct proto *p, struct rip_block *block, ip_addr whotoldme )
|
||||
{
|
||||
#ifndef IPV6
|
||||
int metric = ntohl( block->metric );
|
||||
#else
|
||||
int metric = block->metric;
|
||||
#endif
|
||||
ip_addr network = block->network;
|
||||
|
||||
CHK_MAGIC;
|
||||
|
Loading…
Reference in New Issue
Block a user