patch-1.3.44 linux/net/ipv4/ip_forward.c

Next file: linux/net/ipv4/ip_output.c
Previous file: linux/net/ipv4/igmp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/net/ipv4/ip_forward.c linux/net/ipv4/ip_forward.c
@@ -274,6 +274,7 @@
 			/*
 			 *	Add the physical headers.
 			 */
+			skb2->protocol=htons(ETH_P_IP);
 #ifdef CONFIG_IP_MROUTE
 			if(is_frag&16)
 			{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this