mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
e53ae39960
commit
90d29558ba
@ -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…
x
Reference in New Issue
Block a user