summaryrefslogtreecommitdiffstats
path: root/vpp/vpp-api/custom_dump.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-07-30 11:01:18 -0400
committerDave Barach <dave@barachs.net>2016-07-30 11:01:37 -0400
commita4525d5d8f1a054bb7cb49832a03c03d651d7ab7 (patch)
tree2b01e60d62d560a54691eba1cecee445fc7afd2c /vpp/vpp-api/custom_dump.c
parent8719fc4968466b61716764e3f68aa7268c9dfd1f (diff)
VPP-189: Fix another batch of coverity warnings
Change-Id: I2b13894cca950ddb6732714f3acc180443552b5f Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp/vpp-api/custom_dump.c')
-rw-r--r--vpp/vpp-api/custom_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp/vpp-api/custom_dump.c b/vpp/vpp-api/custom_dump.c
index 651fdd35..a6898eb8 100644
--- a/vpp/vpp-api/custom_dump.c
+++ b/vpp/vpp-api/custom_dump.c
@@ -695,7 +695,7 @@ static void *vl_api_create_subif_t_print
if (mp->outer_vlan_id)
s = format (s, "outer_vlan_id %d ", ntohs (mp->outer_vlan_id));
- if (mp->outer_vlan_id)
+ if (mp->inner_vlan_id)
s = format (s, "inner_vlan_id %d ", ntohs (mp->inner_vlan_id));
#define _(a) if (mp->a) s = format (s, "%s ", #a);