fix broadcast address (kudos to fenestro for point out broadcast +)

SVN-Revision: 81
This commit is contained in:
Mike Baker 2004-07-08 02:18:04 +00:00
parent 04a1616a7b
commit dbe231b322

View file

@ -67,7 +67,7 @@ ifup () (
if_netmask=$(nvram_get ${type}_netmask) if_netmask=$(nvram_get ${type}_netmask)
if_gateway=$(nvram_get ${type}_gateway) if_gateway=$(nvram_get ${type}_gateway)
$DEBUG ifconfig $if $if_ip ${if_netmask:+netmask $if_netmask} up $DEBUG ifconfig $if $if_ip ${if_netmask:+netmask $if_netmask} broadcast + up
${if_gateway:+$DEBUG route add default gw $if_gateway} ${if_gateway:+$DEBUG route add default gw $if_gateway}
[ -f /etc/resolv.conf ] && return [ -f /etc/resolv.conf ] && return