From: Andrew Yourtchenko Date: Tue, 20 Jun 2017 13:13:12 +0000 (+0200) Subject: acl-plugin: fix coverity error 171135 X-Git-Tag: v17.07-rc1~19 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F7229%2F2;p=vpp.git 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 --- 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")) {