]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
TEE: do not use TOS for routing
authorJan Engelhardt <jengelh@medozas.de>
Thu, 20 Nov 2008 23:41:56 +0000 (00:41 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Fri, 21 Nov 2008 00:15:02 +0000 (01:15 +0100)
Otherwise the cloned packet may be subject to more policy routing
rules than expected.

extensions/xt_TEE.c

index 20d5d8ad71ff7ad566ceead95783e46f792a893e..447254db2b97f937335af792dd4ac65d146feedf 100644 (file)
@@ -57,7 +57,6 @@ static bool tee_routing(struct sk_buff *skb,
                .nl_u = {
                        .ip4_u = {
                                .daddr = info->gw.ip,
-                               .tos   = RT_TOS(iph->tos),
                                .scope = RT_SCOPE_UNIVERSE,
                        }
                }