esp-idf/components/lwip/apps
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
..
ping components/lwip: Set the ping target info 2017-01-11 10:58:34 +08:00
sntp sntp: fix author name 2016-09-02 16:26:06 +08:00
dhcpserver.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