]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: adjust xtables_match and xtables_target to changes in recent iptables
authorEyal Birger <eyal.birger@gmail.com>
Mon, 24 Jun 2019 15:14:57 +0000 (18:14 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Jun 2019 23:12:17 +0000 (16:12 -0700)
commitbfa757e02f8ec4e27a261ff77dbf70188a907666
treed557e98af9e67aa24bb4b13b23a28cc296bb3a69
parent6d77d9c6ae74fe231d9aab2b7538fdded1d1028c
tc: adjust xtables_match and xtables_target to changes in recent iptables

iptables commit 933400b37d09 ("nft: xtables: add the infrastructure to translate from iptables to nft")
added an additional member to struct xtables_match and struct xtables_target.

This change is available for libxtables12 and up.
Add these members conditionally to support both newer and older versions.

Fixes: dd29621578d2 ("tc: add em_ipt ematch for calling xtables matches from tc matching context")
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/xtables.h