aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-22 14:48:25 +0000
committerBill Nottingham <notting@redhat.com>2001-06-22 14:48:25 +0000
commit0aac3260f57c9564c321ccc48aa2f3227f4c344a (patch)
tree4a544dc7fabe85f45b9dbf05de53510fce3ff5c3 /sysconfig/network-scripts/ifup
parenta3530cb7cbcc75341c8835a5fa34313631db8062 (diff)
downloadinitscripts-0aac3260f57c9564c321ccc48aa2f3227f4c344a.tar
initscripts-0aac3260f57c9564c321ccc48aa2f3227f4c344a.tar.gz
initscripts-0aac3260f57c9564c321ccc48aa2f3227f4c344a.tar.bz2
initscripts-0aac3260f57c9564c321ccc48aa2f3227f4c344a.tar.xz
initscripts-0aac3260f57c9564c321ccc48aa2f3227f4c344a.zip
remove broadcast unreachable route; breaks DHCP clients
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 00f650fd..c2931211 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -72,7 +72,7 @@ if [ "${BOOTP}" = "yes" ]; then
BOOTPROTO=bootp
fi
-if [ "${BOOTPROTO}" = bootp -o "${BOOTPROTO}" = dhcp ]; then
+if [ "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ]; then
DYNCONFIG=true
fi
@@ -222,7 +222,6 @@ else
( sleep 2;
arping -q -U -c 1 -I ${DEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null &
ip route add unreachable 224.0.0.0/24 > /dev/null 2>&1
- ip route add unreachable 255.255.255.255 > /dev/null 2>&1
# if the device is multicast enabled, add a default multicast route
if [ `ip link ls ${DEVICE} | grep -c MULTICAST` -ge 1 ]; then