aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-08-08 13:27:30 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2017-08-08 13:27:30 +0200
commit58013b73509521789608f24a79a00177797ff9b1 (patch)
treead80ba4634b5effa5f5384402a7b5f16f1b84c3e /src
parentbd9c5ffe39e9ce61db95d74d150e07d738f24da1 (diff)
acl-plugin: fix a misplaced return (VPP-910)
It was uncaught by make test because the corresponding tests are not there yet - part of 17.10 deliverables Change-Id: I55456f1874ce5665a06ee411c7abf37cd19ed814 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/acl/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c
index bc38265a6c5..6e8613b8571 100644
--- a/src/plugins/acl/acl.c
+++ b/src/plugins/acl/acl.c
@@ -409,8 +409,8 @@ acl_classify_add_del_table_small (vnet_classify_main_t * cm, u8 * mask,
table_index, current_data_flag,
current_data_offset, is_add,
1 /* delete_chain */);
- return ret;
clib_mem_set_heap (oldheap);
+ return ret;
}