mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
12fd9029bf
IP update notification for "point to point" interfaces is performed via the same callback function as for any other interfaces (dhcp_cb, although it's not DHCP related). In P2P interfaces we have to assure that we always get a notification, so we can set the interface up. This was omitted when getting the same IP address for the second time, causing the PPPoS interface (in esp-modem applications) failing to reconnect if disconnected. Closes https://github.com/espressif/esp-idf/issues/10308 Closes https://github.com/espressif/esp-protocols/issues/188