[netfilter-cvslog] r3513 - trunk/nfsim/core/ipv4

rusty at netfilter.org rusty at netfilter.org
Wed Dec 29 13:56:32 CET 2004


Author: rusty at netfilter.org
Date: 2004-12-29 13:56:31 +0100 (Wed, 29 Dec 2004)
New Revision: 3513

Modified:
   trunk/nfsim/core/ipv4/ipv4.c
Log:
Fixes for CONFIG_IP_ROUTE_FWMARK

Modified: trunk/nfsim/core/ipv4/ipv4.c
===================================================================
--- trunk/nfsim/core/ipv4/ipv4.c	2004-12-29 11:46:03 UTC (rev 3512)
+++ trunk/nfsim/core/ipv4/ipv4.c	2004-12-29 12:56:31 UTC (rev 3513)
@@ -251,7 +251,7 @@
 
 				rth->fl.fl4_tos	= flp->fl4_tos;
 #ifdef CONFIG_IP_ROUTE_FWMARK
-				rth->fl.fl4_fwmark = skb->nfmark;
+				rth->fl.fl4_fwmark = flp->fl4_fwmark;
 #endif
 
 				rth->u.rt_next = rcache;
@@ -290,7 +290,7 @@
 			rth->fl.oif = flp->oif;
 			rth->fl.fl4_tos	= flp->fl4_tos;
 #ifdef CONFIG_IP_ROUTE_FWMARK
-			rth->fl.fl4_fwmark = skb->nfmark;
+			rth->fl.fl4_fwmark = flp->fl4_fwmark;
 #endif
 			/* add to rcache list */
 			rth->u.rt_next = rcache;




More information about the netfilter-cvslog mailing list