RIPv6 now works.

This commit is contained in:
Pavel Machek 2000-06-07 14:06:37 +00:00
parent 76c7efec63
commit 07f29765a5

View file

@ -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;