acl-plugin: vat: acl_interface_list_dump confusing/incorrect output in case n_input... 27/7227/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 20 Jun 2017 12:40:44 +0000 (14:40 +0200)
committerOle Trøan <otroan@employees.org>
Wed, 21 Jun 2017 10:08:22 +0000 (10:08 +0000)
commitb736dc1876d1b50510e3093b3d22a56093036db9
treeb3568a7ae9394976da0b09709d9fac2ebd7206c6
parent284293a3ff4ba6508f8d02b644cfd1a60966382c
acl-plugin: vat: acl_interface_list_dump confusing/incorrect output in case n_input == 0

The logic to print the line " output " is wrong for the case of n_input == 0,
and the applied ACLs are printed as if they were applied on input.
One may still figure out the truth by looking at the n_input value above,
but it is confusing.

Change-Id: I7b4a4d548e569994678dd1e139eb829456548b88
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl_test.c