diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-06 17:52:10 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-12 14:53:24 +0100 |
commit | 9677ed12a93f165fa9840fd9f8fa183390a3bd04 (patch) | |
tree | 02152da925a75a2468b2b60641d118ce28f34281 /extensions/libxt_RATEEST.c | |
parent | ab0b6d508caafc519b0d86a8c019c61c418240f7 (diff) |
arptables: fix src/dst mac handling
1. check both address and mask, not just first byte of mac
2. use add_addr() for this so mask is also handled via bitwise expr.
3. use the correct offsets.
4. add dissector so we can reverse translate the payload expressions
generated for this.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_RATEEST.c')
0 files changed, 0 insertions, 0 deletions