Browse Source

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
John Crispin 13 years ago
parent
commit
c2b8d1a619
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/config/netifd/files/lib/netifd/proto/dhcp.sh

+ 1 - 1
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 \