From: Pavel Machek Date: Wed, 7 Jun 2000 14:06:37 +0000 (+0000) Subject: RIPv6 now works. X-Git-Tag: v1.2.0~577 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07f29765a58ee72fc79d74b28dbfead24e0b5baf;p=thirdparty%2Fbird.git RIPv6 now works. --- diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 7268383c8..d8058b8d2 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -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;