diff options
| author | Mike Baker <mbm@openwrt.org> | 2004-07-08 02:18:04 +0000 |
|---|---|---|
| committer | Mike Baker <mbm@openwrt.org> | 2004-07-08 02:18:04 +0000 |
| commit | fe9f545ca49b2a7d1b5a042e618ebf359bb745ba (patch) | |
| tree | 8d4b45474c9fcbef2593bc1ad0dfa386f47e2fbb | |
| parent | 9c70045b0ca22f29c470e7151c1bd4146d69586a (diff) | |
| download | upstream-fe9f545ca49b2a7d1b5a042e618ebf359bb745ba.tar.gz upstream-fe9f545ca49b2a7d1b5a042e618ebf359bb745ba.tar.bz2 upstream-fe9f545ca49b2a7d1b5a042e618ebf359bb745ba.zip | |
fix broadcast address
(kudos to fenestro for point out broadcast +)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@81 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rwxr-xr-x | root/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/functions.sh b/root/etc/functions.sh index 09ba6feea2a..1f9afb2948a 100755 --- a/root/etc/functions.sh +++ b/root/etc/functions.sh @@ -67,7 +67,7 @@ ifup () ( if_netmask=$(nvram_get ${type}_netmask) 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} [ -f /etc/resolv.conf ] && return |
