]> git.ipfire.org Git - thirdparty/nftables.git/commit
nft: fill in doff and fix ihl/version template entries
authorFlorian Westphal <fw@strlen.de>
Sun, 26 Jan 2014 13:52:47 +0000 (14:52 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 17 Sep 2015 22:06:07 +0000 (00:06 +0200)
commita217645763027da6856efe037c4d3e44abe9d79e
treec25a0cd75c5562b51612fc96af820a1096b35513
parent7c587d4b4d05a24cedcb2b0b339c18d79b9d4eb2
nft: fill in doff and fix ihl/version template entries

This allows to use

nft add rule ip filter input tcp doff 8

or similar.

Furhermore, ip version looked at hdrlen and vice versa.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/proto.c