agent: Fixed bug with ACL

The bug has been caused by incorrect usage/interpretation of ethernet
header flags.