acl-plugin: use ethernet_buffer_header_size() to determine the size of the ethernet... 45/7245/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 21 Jun 2017 10:20:39 +0000 (12:20 +0200)
committerOle Trøan <otroan@employees.org>
Wed, 21 Jun 2017 20:31:33 +0000 (20:31 +0000)
commita2b4ac1c13559b1cdf5088edfad4a68022960b00
treeb3f2b9731cb4aeb334c724748197807825144b7e
parent4393f27ddff96da77cc142477496f01e24b790c5
acl-plugin: use ethernet_buffer_header_size() to determine the size of the ethernet header

When extracting the 5-tuple, use the ethernet_buffer_header_size() so we can correctly
handle the case of subinterfaces, etc.

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