summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-06-20 15:13:12 +0200
committerOle Trøan <otroan@employees.org>2017-06-21 10:08:33 +0000
commit996f790dfb42260b3bd1e15b33f90171dc5907fb (patch)
tree63f5444803a0024e000778fac13caeca6ab54cbe
parentb736dc1876d1b50510e3093b3d22a56093036db9 (diff)
acl-plugin: fix coverity error 171135
The code path which sets the sw_if_index aimed to restrict the output did not set the flag to trigger that output. Change-Id: I0a1a3977fdddbce9a276960df43fed745d099ca0 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
-rw-r--r--src/plugins/acl/acl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c
index 51929ad9188..ae1cbf714c1 100644
--- a/src/plugins/acl/acl.c
+++ b/src/plugins/acl/acl.c
@@ -2076,6 +2076,8 @@ acl_show_aclplugin_fn (vlib_main_t * vm,
u32 show_bihash_verbose = 0;
if (unformat (input, "acl")) {
+ show_acl_hash_info = 1;
+ /* mask-type is handy to see as well right there */
show_mask_type = 1;
unformat (input, "index %u", &acl_index);
} else if (unformat (input, "applied")) {