mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/mdns_BCT_fix' into 'master'
mdns: fixes to have the BCT passing with latest IDF/lw-IP See merge request espressif/esp-idf!6286
This commit is contained in:
commit
6373196a41
@ -1 +1 @@
|
||||
Subproject commit 8c801667e8586ae6dedf80d13aaaec71b7b9a33d
|
||||
Subproject commit 89932176f598bb1b6595c65bfc7832334e0a1e08
|
@ -3062,7 +3062,7 @@ static void _mdns_handle_system_event(esp_event_base_t event_base,
|
||||
switch(event_id) {
|
||||
case WIFI_EVENT_STA_CONNECTED:
|
||||
if (!tcpip_adapter_dhcpc_get_status(TCPIP_ADAPTER_IF_STA, &dcst)) {
|
||||
if (dcst != TCPIP_ADAPTER_DHCP_STARTED) {
|
||||
if (dcst == TCPIP_ADAPTER_DHCP_STOPPED) {
|
||||
_mdns_enable_pcb(TCPIP_ADAPTER_IF_STA, MDNS_IP_PROTOCOL_V4);
|
||||
}
|
||||
}
|
||||
@ -3085,7 +3085,7 @@ static void _mdns_handle_system_event(esp_event_base_t event_base,
|
||||
switch (event_id) {
|
||||
case ETHERNET_EVENT_CONNECTED:
|
||||
if (!tcpip_adapter_dhcpc_get_status(TCPIP_ADAPTER_IF_ETH, &dcst)) {
|
||||
if (dcst != TCPIP_ADAPTER_DHCP_STARTED) {
|
||||
if (dcst == TCPIP_ADAPTER_DHCP_STOPPED) {
|
||||
_mdns_enable_pcb(TCPIP_ADAPTER_IF_ETH, MDNS_IP_PROTOCOL_V4);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user