patch-2.0.31 linux/net/ipv4/ip_forward.c
Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/net/ipv4/ip_alias.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Tue Aug 12 11:30:25 1997
-  Orig file: 
v2.0.30/linux/net/ipv4/ip_forward.c
-  Orig date: 
Tue Apr  8 08:47:47 1997
diff -u --recursive --new-file v2.0.30/linux/net/ipv4/ip_forward.c linux/net/ipv4/ip_forward.c
@@ -177,7 +177,7 @@
 		 * and give it to the IP sender for further processing.
 		 */
 
-		rt = ip_rt_route(target_addr, 0);
+		rt = ip_rt_route(target_addr, 0, NULL);
 
 		if (rt == NULL)
 		{
@@ -419,7 +419,7 @@
 			skb2->dev=dev2;
 #ifdef CONFIG_IP_MROUTE
 			if(is_frag&IPFWD_MULTITUNNEL)
-				ip_encap(skb,skb->len, dev2, raddr);
+				ip_encap(skb, 0, dev2, target_addr);
 			else
 			{
 #endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov