summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index aaa8144..e7fee7a 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -189,7 +189,7 @@ add_new_routes() {
if [ -f "/tmp/${interface}_defaultgw" -o $EXISTSGW -eq 0 ]; then
$ROUTE delete default
for router in $new_routers; do
- if [ "$new_ip_address" = "$router" ]; then
+ if [ "$new_ip_address" = "$router" -o "$router" = "255.255.255.255" ]; then
$ROUTE add default -iface $interface
echo $ROUTE add default -iface $interface | $LOGGER
echo $router > /tmp/${interface}_router
OpenPOWER on IntegriCloud