Skip to content
Snippets Groups Projects
Commit 519d6910 authored by mbm's avatar mbm
Browse files

use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@658 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 4f50fbaa
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment