nuttx-apps/netutils/dhcpc
Zhe Weng 3e68694bdf netutils/dhcpc: Set BOOTP BROADCAST flag when IPFORWARD is enabled
Socket binded to INADDR_ANY is not intended to receive unicast traffic before being fully configured, at least dhclient configured with socket-only won't do so on Linux and BSDs (https://github.com/isc-projects/dhcp/blob/v4_4_3/common/socket.c#L1201).
We can sometimes receive unicast traffic before being fully configured, it's good, but not always, so we need to set the broadcast flag under some situations.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-06-15 10:10:05 +08:00
..
dhcpc.c netutils/dhcpc: Set BOOTP BROADCAST flag when IPFORWARD is enabled 2023-06-15 10:10:05 +08:00
Kconfig netutils/dhcpc: Set BOOTP BROADCAST flag when IPFORWARD is enabled 2023-06-15 10:10:05 +08:00
Make.defs apps/netutils/dhcpc/Make.defs: fix nxstyle 2023-03-20 14:17:07 +01:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00