mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones

closes WIFI-771


* Original commit: espressif/esp-idf@e5e31c5d01
This commit is contained in:
David Cermak
2019-09-24 12:12:58 +02:00
committed by suren-gabrielyan-espressif
parent 0582187b9a
commit 286c646725
2 changed files with 12 additions and 7 deletions

View File

@ -52,6 +52,7 @@
#define MDNS_ANSWER_AAAA 0x10
#define MDNS_ANSWER_NSEC 0x20
#define MDNS_ANSWER_SDPTR 0x80
#define MDNS_ANSWER_AAAA_SIZE 16
#define MDNS_SERVICE_PORT 5353 // UDP port that the server runs on
#define MDNS_SERVICE_STACK_DEPTH 4096 // Stack size for the service thread