From 0aac3260f57c9564c321ccc48aa2f3227f4c344a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 22 Jun 2001 14:48:25 +0000 Subject: remove broadcast unreachable route; breaks DHCP clients --- sysconfig/network-scripts/ifup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysconfig') 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 -- cgit v1.2.1