]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: Fix compilation error with old iptables
authorRoi Dayan <roid@mellanox.com>
Tue, 27 Mar 2018 09:20:48 +0000 (12:20 +0300)
committerDavid Ahern <dsahern@gmail.com>
Tue, 27 Mar 2018 13:38:52 +0000 (06:38 -0700)
commit17504be81d70dd7784ff154aa301347247becd68
treee9cf428b4dabc667d8059a4a9d425713fb860ba2
parent2c6962cfaff939ab7a424916716618b4c4c05240
tc: Fix compilation error with old iptables

The compat_rev field does not exists in old versions of iptables.
e.g. iptables 1.4.

Fixes: dd29621578d2 ("tc: add em_ipt ematch for calling xtables matches from tc matching context")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/em_ipt.c