diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-06 17:48:24 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-12 14:53:24 +0100 |
commit | ab0b6d508caafc519b0d86a8c019c61c418240f7 (patch) | |
tree | cc16bcbbd10486d72c48f2d01a20ae419ce705cc /INCOMPATIBILITIES | |
parent | c0c75ce336e111f7b0fe08f7671ba2ae66ed630c (diff) |
arptables: fix target ip offset
--dst-ip checks the first four octets of the target mac.
Format of ipv4 arp is:
arphdr (htype, ptype...)
src mac
src ip
target mac
target ip
So we need to add hlen (6 bytes) a second time
(arphdr + 6 + 4 + 6) to get correct offset.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'INCOMPATIBILITIES')
0 files changed, 0 insertions, 0 deletions