aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_route_domain.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-11-08 00:13:58 -0800
committerNeale Ranns <nranns@cisco.com>2018-11-08 10:59:06 +0000
commitb2bc03b3d055e601a5667c61a28f78520dd84d50 (patch)
tree46deb88d66f73ab0889bed094e4a3c2dcdb8499f /src/plugins/gbp/gbp_route_domain.c
parent54e8e39a5284917efab8fd6d7d92e589d4a911a4 (diff)
GBP: fix for coverity found errors
Change-Id: Id69678adb578b323ae18034d1b1fddb7417bcc08 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_route_domain.c')
-rw-r--r--src/plugins/gbp/gbp_route_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gbp/gbp_route_domain.c b/src/plugins/gbp/gbp_route_domain.c
index 5518cc1ca36..c030ee51ada 100644
--- a/src/plugins/gbp/gbp_route_domain.c
+++ b/src/plugins/gbp/gbp_route_domain.c
@@ -291,9 +291,9 @@ gbp_route_domain_cli (vlib_main_t * vm,
else if (unformat (input, "ip6-uu %U", unformat_vnet_sw_interface,
vnm, &ip6_uu_sw_if_index))
;
- else if (unformat (input, "ip4-table-id %d", ip4_table_id))
+ else if (unformat (input, "ip4-table-id %d", &ip4_table_id))
;
- else if (unformat (input, "ip6-table-id %d", ip6_table_id))
+ else if (unformat (input, "ip6-table-id %d", &ip6_table_id))
;
else if (unformat (input, "add"))
add = 1;