aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-08-23 19:46:26 +0000
committerBill Nottingham <notting@redhat.com>2006-08-23 19:46:26 +0000
commite5493d2fc6939403649536d6b56152d2d324bca8 (patch)
tree454117825a1ace0792ba23eb17c292b42f77392b
parentbca88b14edd7d41d4b3baaae12671bc807a154c6 (diff)
downloadinitscripts-e5493d2fc6939403649536d6b56152d2d324bca8.tar
initscripts-e5493d2fc6939403649536d6b56152d2d324bca8.tar.gz
initscripts-e5493d2fc6939403649536d6b56152d2d324bca8.tar.bz2
initscripts-e5493d2fc6939403649536d6b56152d2d324bca8.tar.xz
initscripts-e5493d2fc6939403649536d6b56152d2d324bca8.zip
fix the real issue
-rwxr-xr-xsysconfig/network-scripts/ifup-eth7
1 files changed, 1 insertions, 6 deletions
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