From e3241f04410fa45099f958f77636b80293904fc3 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Sun, 19 Dec 2021 15:10:20 +0000 Subject: fib: Incorrect logic for IPv6 link-local attached export. Type: fix IPv6 link-local FIB entries are never needed for attached export. Signed-off-by: Neale Ranns Change-Id: I08aad78e754d89ad54d07a211fb7a0d7fbc7a0fe --- src/vnet/fib/fib_entry_src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/fib') diff --git a/src/vnet/fib/fib_entry_src.c b/src/vnet/fib/fib_entry_src.c index 388f08c621f..5e66de7c93b 100644 --- a/src/vnet/fib/fib_entry_src.c +++ b/src/vnet/fib/fib_entry_src.c @@ -1508,7 +1508,7 @@ fib_route_attached_cross_table (const fib_entry_t *fib_entry, /* Ignore link local addresses these also can't be imported/exported */ if (ip6_address_is_link_local_unicast (&pfx->fp_addr.ip6)) { - return (!0); + return (0); } break; case FIB_PROTOCOL_IP4: -- cgit 1.2.3-korg