We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214bd06 commit 06d30ceCopy full SHA for 06d30ce
sbin/dhclient-script
@@ -189,7 +189,7 @@ add_new_routes() {
189
if [ -f "/tmp/${interface}_defaultgw" -o $EXISTSGW -eq 0 ]; then
190
$ROUTE delete default
191
for router in $new_routers; do
192
- if [ "$new_ip_address" = "$router" ]; then
+ if [ "$new_ip_address" = "$router" -o "$router" = "255.255.255.255" ]; then
193
$ROUTE add default -iface $interface
194
echo $ROUTE add default -iface $interface | $LOGGER
195
echo $router > /tmp/${interface}_router
0 commit comments