From e5493d2fc6939403649536d6b56152d2d324bca8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 23 Aug 2006 19:46:26 +0000 Subject: fix the real issue --- sysconfig/network-scripts/ifup-eth | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sysconfig/network-scripts/ifup-eth') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index d8f5d132..89eca612 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -260,11 +260,6 @@ else ( sleep 2; arping -q -U -c 1 -I ${REALDEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null & - # Add Zeroconf route. - if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then - ip route replace 169.254.0.0/16 dev ${REALDEVICE} - fi - # Set a default route. if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then # set up default gateway. replace if one already exists @@ -295,7 +290,7 @@ if is_bonding_device ${DEVICE} ; then fi # Add Zeroconf route. -if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" ]; then +if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" -a "${REALDEVICE}" != "lo" ]; then ip route replace 169.254.0.0/16 dev ${REALDEVICE} fi -- cgit v1.2.1