patch-2.0.27 linux/net/ipx/af_ipx.c

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

diff -u --recursive --new-file v2.0.26/linux/net/ipx/af_ipx.c linux/net/ipx/af_ipx.c
@@ -784,8 +784,7 @@
 		}
 #endif		
 		/* We only route point-to-point packets. */
-		if ((skb->pkt_type != PACKET_BROADCAST) &&
-			(skb->pkt_type != PACKET_MULTICAST))
+		if (skb->pkt_type == PACKET_HOST)
 			return ipxrtr_route_skb(skb);
 		
 		kfree_skb(skb,FREE_READ);


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov