mDNS: add new files to filelists + solve compile errors
ttl setting removed from example code. string.h included where needed.
This commit is contained in:
committed by
Dirk Ziegelmeier
parent
201e772e15
commit
331368e3aa
@@ -56,8 +56,8 @@ mdns_example_init(void)
|
||||
#if LWIP_MDNS_RESPONDER
|
||||
mdns_resp_register_name_result_cb(mdns_example_report);
|
||||
mdns_resp_init();
|
||||
mdns_resp_add_netif(netif_default, "lwip", 3600);
|
||||
mdns_resp_add_service(netif_default, "myweb", "_http", DNSSD_PROTO_TCP, 80, 3600, srv_txt, NULL);
|
||||
mdns_resp_add_netif(netif_default, "lwip");
|
||||
mdns_resp_add_service(netif_default, "myweb", "_http", DNSSD_PROTO_TCP, 80, srv_txt, NULL);
|
||||
mdns_resp_announce(netif_default);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user