mdns : correct of errors compilation

This commit is contained in:
Abdellatif IDIRY 2021-10-25 14:56:49 +02:00
parent 5886ff8c95
commit 2c0a25ecd6
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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

View File

@ -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 */