IP FIB dump - incorrect table-ID for deag paths 35/13335/2
authorNeale Ranns <nranns@cisco.com>
Tue, 3 Jul 2018 13:37:00 +0000 (06:37 -0700)
committerNeale Ranns <nranns@cisco.com>
Wed, 4 Jul 2018 09:16:10 +0000 (09:16 +0000)
Change-Id: I383cfb662b4d2bf4f814e3eb9a1ce4d6bff7066d
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/fib/fib_api.c

index e9a2865..cea54a2 100644 (file)
@@ -242,7 +242,7 @@ fib_api_path_encode (const fib_route_path_encode_t * api_rpath,
     fib_api_path_copy_next_hop (api_rpath, out);
 
     if (~0 == api_rpath->rpath.frp_sw_if_index &&
-        !ip46_address_is_zero(&api_rpath->rpath.frp_addr))
+        ip46_address_is_zero(&api_rpath->rpath.frp_addr))
     {
         if ((DPO_PROTO_IP6 == api_rpath->rpath.frp_proto) ||
             (DPO_PROTO_IP4 == api_rpath->rpath.frp_proto))