projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8644dc0
)
fix broadcast address
author
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 Jul 2004 02:18:04 +0000
(
02:18
+0000)
committer
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 Jul 2004 02:18:04 +0000
(
02:18
+0000)
(kudos to fenestro for point out broadcast +)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@81
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
root/etc/functions.sh
patch
|
blob
|
history
diff --git
a/root/etc/functions.sh
b/root/etc/functions.sh
index
09ba6fe
..
1f9afb2
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
This page took
0.025073 seconds
and
4
git commands to generate.