mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
mdns : correct of errors compilation
This commit is contained in:
parent
5886ff8c95
commit
2c0a25ecd6
@ -2514,7 +2514,7 @@ mdns_resp_netif_active(struct netif *netif)
|
||||
s8_t
|
||||
mdns_resp_add_service(struct netif *netif, const char *name, const char *service, enum mdns_sd_proto proto, u16_t port, service_get_txt_fn_t txt_fn, void *txt_data, char **subTypes, u8_t subtypes_nbr )
|
||||
{
|
||||
u8_t slot;
|
||||
u8_t slot,i;
|
||||
struct mdns_service *srv;
|
||||
struct mdns_host *mdns;
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
/* Function prototypes */
|
||||
static void mdns_clear_outmsg(struct mdns_outmsg *outmsg);
|
||||
mdns_add_service_subtype_ptr_answer(struct mdns_outpacket *reply, struct mdns_outmsg *msg, struct mdns_service *service);
|
||||
static err_t mdns_add_service_subtype_ptr_answer(struct mdns_outpacket *reply, struct mdns_outmsg *msg, struct mdns_service *service);
|
||||
/**
|
||||
* Call user supplied function to setup TXT data
|
||||
* @param service The service to build TXT record for
|
||||
|
@ -52,7 +52,7 @@
|
||||
* transport. IGMP is needed for IPv4 multicast.
|
||||
*/
|
||||
#ifndef LWIP_MDNS_RESPONDER
|
||||
#define LWIP_MDNS_RESPONDER 0
|
||||
#define LWIP_MDNS_RESPONDER 1
|
||||
#endif /* LWIP_MDNS_RESPONDER */
|
||||
|
||||
/** The maximum number of services per netif */
|
||||
|
Loading…
Reference in New Issue
Block a user