* [PATCH] ROUTE target fixes for 2.6.10+
@ 2005-02-10 18:25 Phil Oester
2005-02-14 23:15 ` Harald Welte
0 siblings, 1 reply; 2+ messages in thread
From: Phil Oester @ 2005-02-10 18:25 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
Since initialized has been removed, the below is needed for 2.6.10+
kernels.
This fixes bugzilla #284
Phil
[-- Attachment #2: patch-route --]
[-- Type: text/plain, Size: 694 bytes --]
diff -ru pom-orig/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c pom-new/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c
--- pom-orig/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c 2004-12-13 21:58:31.000000000 -0500
+++ pom-new/ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c 2005-02-10 13:16:19.235968840 -0500
@@ -449,8 +449,7 @@
/* - and look it like as a confirmed connection */
set_bit(IPS_CONFIRMED_BIT, &route_tee_track.status);
/* Initialize fake conntrack so that NAT will skip it */
- route_tee_track.nat.info.initialized |=
- (1 << IP_NAT_MANIP_SRC) | (1 << IP_NAT_MANIP_DST);
+ route_tee_track.status |= IPS_NAT_DONE_MASK;
return ipt_register_target(&ipt_route_reg);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-14 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-10 18:25 [PATCH] ROUTE target fixes for 2.6.10+ Phil Oester
2005-02-14 23:15 ` Harald Welte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.