esp-idf/components/tcpip_adapter
XiaXiaotian 20064978ba Fix the bug that if one device is in station+softap mode, other device can not
get IP address after connecting to the softap.

    Now the default netif is station in station+softap mode. The UDP pcb of
DHCP server is binded to IP 0.0.0.0. When other device connects to softap, the
DHCP offer will be sent by softap.But because the destination IP of DHCP offer
is broadcast IP and the source IP of it is 0.0.0.0, it will be sent from default
netif, that is station interface. Other device can not receive the DHCP offer
sent from station interface. As a result, other device can not get IP address.
The resolution is that bind UDP pcb to the IP address of softap. So, the source
IP of DHCP offer is that of softap. DHCP offer can be sent from softap interface
by source IP route method.
2017-09-23 20:18:50 +08:00
..
include tcpip_adapter/lwip: optimize wifi/ip event 2017-08-21 14:36:44 +08:00
component.mk build system: Refactor component.mk to not need component_common.mk 2016-11-10 15:52:22 +11:00
Kconfig tcpip_adapter/lwip: optimize wifi/ip event 2017-08-21 14:36:44 +08:00
tcpip_adapter_lwip.c Fix the bug that if one device is in station+softap mode, other device can not 2017-09-23 20:18:50 +08:00