mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-31 19:17:12 +00:00
use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp
SVN-Revision: 658
This commit is contained in:
parent
13031a44b0
commit
7f5d2b4212
@ -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