patch-2.2.0-pre5 linux/net/ipv4/route.c

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

diff -u --recursive --new-file v2.2.0-pre4/linux/net/ipv4/route.c linux/net/ipv4/route.c
@@ -5,7 +5,7 @@
  *
  *		ROUTE - implementation of the IP router.
  *
- * Version:	$Id: route.c,v 1.58 1998/10/03 09:37:50 davem Exp $
+ * Version:	$Id: route.c,v 1.60 1999/01/04 20:14:52 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -949,10 +949,6 @@
 
 	if (BADCLASS(daddr) || ZERONET(daddr) || LOOPBACK(daddr))
 		goto martian_destination;
-
-	/* Accept anything arriving at 0.0.0.0 */
-	if (in_dev->ifa_list && in_dev->ifa_list->ifa_local == 0)
-		goto local_input;
 
 	/*
 	 *	Now we are ready to route packet.

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