aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-12-19 15:10:20 +0000
committerNeale Ranns <neale@graphiant.com>2021-12-19 15:10:20 +0000
commite3241f04410fa45099f958f77636b80293904fc3 (patch)
tree7762c04360cbb22de4389ca8afaf602b6e208d8b
parentc72feb8059d6d03c96c4754d555474a6482cbb3c (diff)
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 <neale@graphiant.com> Change-Id: I08aad78e754d89ad54d07a211fb7a0d7fbc7a0fe
-rw-r--r--src/vnet/fib/fib_entry_src.c2
1 files changed, 1 insertions, 1 deletions
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: