mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:11:46 +02:00
Fix broadcast DHCP client startup option in dhcp.sh
Signed-off-by: Hans Dedecker (hans.dedecker at technicolor.com) Fixes the DHCP request broadcasts replies option parsing git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33826 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b4260e22f3
commit
84113cb837
@ -26,7 +26,7 @@ proto_dhcp_setup() {
|
||||
append dhcpopts "-O $opt"
|
||||
done
|
||||
|
||||
[ "$broadcast" = 1 ] && broadcast="-O broadcast" || broadcast=
|
||||
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
|
||||
|
||||
proto_export "INTERFACE=$config"
|
||||
proto_run_command "$config" udhcpc \
|
||||
|
Loading…
Reference in New Issue
Block a user