mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 12:30:15 +02:00
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
This commit is contained in:
parent
8644dc0023
commit
4e37810ea1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user