mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-07 06:05:10 +00:00
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:
parent
a799738184
commit
4c5406e225
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue