From: Neale Ranns Date: Sun, 19 Dec 2021 15:10:20 +0000 (+0000) Subject: fib: Incorrect logic for IPv6 link-local attached export. X-Git-Tag: v22.06-rc0~110 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e3241f04410fa45099f958f77636b80293904fc3;p=vpp.git 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 --- 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: