acl-plugin: take 2 at VPP-991 fix, this time with a test case which verifies it. 60/8560/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 27 Sep 2017 11:50:31 +0000 (13:50 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 27 Sep 2017 16:07:20 +0000 (16:07 +0000)
commit987abe9eeb65a3950401073c770012a7898593b7
tree082280a0be74a2b7709c410bc7c2bca939abc94a
parenta61d1251985f236d0a96b3136d6a948fe8fc47fd
acl-plugin: take 2 at VPP-991 fix, this time with a test case which verifies it.

The replacement of [] with pool_elt_at_index and subsequent fixing it
was incorrect - it was equivalent to &[], since it returns a pointer to
the element. I've added VPP-993 previously to create a testcase,
so this commit partially fulfills that one as well.

Change-Id: I5b15e3ce48316f0429232aacf885e8f7c63d9522
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
test/test_acl_plugin.py
test/vpp_papi_provider.py