aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-17 21:53:46 +0000
committerJohn Crispin <john@openwrt.org>2012-10-17 21:53:46 +0000
commitc2b8d1a6190e02e48a55d852ca7ab5ed1a9cd3ac (patch)
tree66c6db79ccab819357a0bddadd98f4b40a2c6b90
parent6993e195328353fe02c525ded684f134edc6e81a (diff)
downloadupstream-c2b8d1a6190e02e48a55d852ca7ab5ed1a9cd3ac.tar.gz
upstream-c2b8d1a6190e02e48a55d852ca7ab5ed1a9cd3ac.tar.bz2
upstream-c2b8d1a6190e02e48a55d852ca7ab5ed1a9cd3ac.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 SVN-Revision: 33826
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/proto/dhcp.sh2
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 \