RIPv6 now works.
This commit is contained in:
parent
76c7efec63
commit
07f29765a5
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue