dhcpc:disable broadcast flag in DHCP process

Issue:
DHCP server will send DHCP offer/ack via broadcast packet if broadcast
flag is enabled in DHCP discover/request.
There's no retransmition mechanism for broadcast frame in 802.11 MAC
layer, thus transmit fail rate might be very high. This will increase DHCP fail rate.

Solution:
Disable broadcast flag by default

Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
This commit is contained in:
liangchaozhong 2022-11-14 22:19:08 +08:00 • committed by Petro Karashchenko
parent a799738184
commit 4c5406e225

View file

@ -32,7 +32,7 @@ config NETUTILS_DHCPC_RETRIES
config NETUTILS_DHCPC_BOOTP_FLAGS
hex "Flags of Bootstrap"
default 0x8000
default 0x0000
---help---
This setting to set the BOOTP broadcast flags.
Reference RFC1542: Clarifications and Extensions for the