mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-11 15:14:57 +02:00
TEE: do not use TOS for routing
Otherwise the cloned packet may be subject to more policy routing rules than expected.
This commit is contained in:
@@ -57,7 +57,6 @@ static bool tee_routing(struct sk_buff *skb,
|
|||||||
.nl_u = {
|
.nl_u = {
|
||||||
.ip4_u = {
|
.ip4_u = {
|
||||||
.daddr = info->gw.ip,
|
.daddr = info->gw.ip,
|
||||||
.tos = RT_TOS(iph->tos),
|
|
||||||
.scope = RT_SCOPE_UNIVERSE,
|
.scope = RT_SCOPE_UNIVERSE,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user