Merge branch 'bugfix/mdns_remove' into 'master'
mdns: Minor fix for mdns_service_remove() See merge request idf/esp-idf!2760
This commit is contained in:
commit
fe1ffb3d1c
1 changed files with 1 additions and 0 deletions
|
@ -1419,6 +1419,7 @@ static void _mdns_pcb_send_bye(tcpip_adapter_if_t tcpip_if, mdns_ip_protocol_t i
|
||||||
if (!packet) {
|
if (!packet) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
packet->flags = MDNS_FLAGS_AUTHORITATIVE;
|
||||||
size_t i;
|
size_t i;
|
||||||
for (i=0; i<len; i++) {
|
for (i=0; i<len; i++) {
|
||||||
if (!_mdns_alloc_answer(&packet->answers, MDNS_TYPE_PTR, services[i]->service, true, true)) {
|
if (!_mdns_alloc_answer(&packet->answers, MDNS_TYPE_PTR, services[i]->service, true, true)) {
|
||||||
|
|
Loading…
Reference in a new issue