From: Neale Ranns Date: Tue, 3 Jul 2018 13:37:00 +0000 (-0700) Subject: IP FIB dump - incorrect table-ID for deag paths X-Git-Tag: v18.07-rc1~55 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=1f046dc117f10fe11d83bab0d61b29e6dcd035e3;hp=eb9df09085e9807b175c1639d55501db7244618b;p=vpp.git IP FIB dump - incorrect table-ID for deag paths Change-Id: I383cfb662b4d2bf4f814e3eb9a1ce4d6bff7066d Signed-off-by: Neale Ranns --- diff --git a/src/vnet/fib/fib_api.c b/src/vnet/fib/fib_api.c index e9a28658523..cea54a20b3d 100644 --- a/src/vnet/fib/fib_api.c +++ b/src/vnet/fib/fib_api.c @@ -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))