mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +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
|
static void
|
||||||
process_block( struct proto *p, struct rip_block *block, ip_addr whotoldme )
|
process_block( struct proto *p, struct rip_block *block, ip_addr whotoldme )
|
||||||
{
|
{
|
||||||
|
#ifndef IPV6
|
||||||
int metric = ntohl( block->metric );
|
int metric = ntohl( block->metric );
|
||||||
|
#else
|
||||||
|
int metric = block->metric;
|
||||||
|
#endif
|
||||||
ip_addr network = block->network;
|
ip_addr network = block->network;
|
||||||
|
|
||||||
CHK_MAGIC;
|
CHK_MAGIC;
|
||||||
|
Loading…
Reference in New Issue
Block a user