mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
Consistent netif->status_callback (#8676)
https://github.com/d-a-v/esp82xx-nonos-linklayer/pull/62
This commit is contained in:
@ -92,11 +92,13 @@ namespace MDNSImplementation
|
||||
LwipIntf::stateUpCB(
|
||||
[this](netif* intf)
|
||||
{
|
||||
(void)intf;
|
||||
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(
|
||||
PSTR("[MDNSResponder] new Interface '%c%c' is UP! restarting\n"), intf->name[0],
|
||||
intf->name[1]));
|
||||
_restart();
|
||||
if (IPAddress(intf->ip_addr).isSet())
|
||||
{
|
||||
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(
|
||||
PSTR("[MDNSResponder] new Interface '%c%c' is UP! restarting\n"),
|
||||
intf->name[0], intf->name[1]));
|
||||
_restart();
|
||||
}
|
||||
});
|
||||
DEBUG_EX_ERR(if (!bResult) {
|
||||
DEBUG_OUTPUT.printf_P(PSTR("[MDNSResponder] begin: FAILED for '%s'!\n"),
|
||||
|
Reference in New Issue
Block a user