summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_api.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-10-06 01:04:26 -0700
committerNeale Ranns <nranns@cisco.com>2019-10-06 01:04:26 -0700
commitac3e72cb9765f78f1cf03ff5d5ccd9ff944668b6 (patch)
tree278c18482d750a1b6917d0828d0796ac4f1296b7 /src/vnet/ip/ip_api.c
parentac78f8a902fc61465edf657f7c7da7ff575210c8 (diff)
ip: Fix IP unnumbered dump of one interface
Type: fix Change-Id: I35fb6fdfba50c4a59cf1ffb94cb51487bcf5afc9 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip_api.c')
-rw-r--r--src/vnet/ip/ip_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c
index dd1d1dcaf6c..322a3ed115a 100644
--- a/src/vnet/ip/ip_api.c
+++ b/src/vnet/ip/ip_api.c
@@ -989,7 +989,7 @@ vl_api_ip_unnumbered_dump_t_handler (vl_api_ip_unnumbered_dump_t * mp)
si = vnet_get_sw_interface (vnm, ntohl (mp->sw_if_index));
- if (!(si->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED))
+ if (si->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED)
{
send_ip_unnumbered_details (am, reg,
sw_if_index,