1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 18:18:59 +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:
mbm 2005-04-18 03:52:42 +00:00
parent fe9440143e
commit e311d137d2

View File

@ -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"