projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a1616
)
fix broadcast address (kudos to fenestro for point out broadcast +)
author
Mike Baker
<mbm@openwrt.org>
Thu, 8 Jul 2004 02:18:04 +0000
(
02:18
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Thu, 8 Jul 2004 02:18:04 +0000
(
02:18
+0000)
SVN-Revision: 81
root/etc/functions.sh
patch
|
blob
|
history
diff --git
a/root/etc/functions.sh
b/root/etc/functions.sh
index 09ba6feea2ade217ac100d7c2bcb921ca4a1c7df..1f9afb2948a04f0fa235e37007ff6d5480d3c498 100755
(executable)
--- 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