mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 08:48:58 +02:00
use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@658 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fe9440143e
commit
e311d137d2
@ -13,8 +13,8 @@ case "$1" in
|
||||
|
||||
renew|bound)
|
||||
ifconfig $interface $ip \
|
||||
${broadcast:+broadcast $broadcast} \
|
||||
${subnet:+netmask $subnet}
|
||||
netmask ${subnet:-255.255.255.0} \
|
||||
broadcast ${broadcast:-+}
|
||||
|
||||
if [ -n "$router" ] ; then
|
||||
echo "deleting routers"
|
||||
|
Loading…
Reference in New Issue
Block a user