summaryrefslogtreecommitdiff
path: root/package/network/config
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config')
-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 \