diff options
author | John Crispin <blogic@openwrt.org> | 2012-10-17 21:53:46 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-10-17 21:53:46 +0000 |
commit | f09f3dbe85ef27c15769923f05fb3b4d066393d5 (patch) | |
tree | 984013603fd828e22286a1cbc349c57aec5a1a3c | |
parent | fb47a917c207afa0631518b0b7a80e19ac0c796d (diff) | |
download | upstream-f09f3dbe85ef27c15769923f05fb3b4d066393d5.tar.gz upstream-f09f3dbe85ef27c15769923f05fb3b4d066393d5.tar.bz2 upstream-f09f3dbe85ef27c15769923f05fb3b4d066393d5.zip |
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
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 9182d58ad8..7b1fe37806 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -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 \ |