From 83d45f5afb9b85377c403a4ec6a4432e162acf0d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 1 Jun 2000 23:04:59 +0000 Subject: don't add host routes for local interfaces --- sysconfig/network-scripts/ifup | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 12d7d520..b9e9357c 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -117,8 +117,6 @@ else # stupid hack, but it should work if [ "$ISALIAS" = no ] && [ -z "`route -n | sed "s/ .*//" | grep ${NETWORK}`" ]; then route add -net ${NETWORK} netmask ${NETMASK} dev ${DEVICE} - elif [ "$ISALIAS" != no ]; then - route add -host ${IPADDR} ${DEVICE} fi # this is broken! it's only here for compatibility with old RH systems -- cgit v1.2.1