aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-07-03 06:37:00 -0700
committerNeale Ranns <nranns@cisco.com>2018-07-04 09:16:10 +0000
commit1f046dc117f10fe11d83bab0d61b29e6dcd035e3 (patch)
tree8605d69a70af1d4f0bff6a338498a2eb81c80dec /src/vnet
parenteb9df09085e9807b175c1639d55501db7244618b (diff)
IP FIB dump - incorrect table-ID for deag paths
Change-Id: I383cfb662b4d2bf4f814e3eb9a1ce4d6bff7066d Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/fib/fib_api.c2
1 files changed, 1 insertions, 1 deletions
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))