net_lwip_webserver: allow users to enable LWIP_IP6 if desired

This commit is contained in:
Peter Lawrence
2021-10-15 20:10:19 -05:00
parent 4bfab30c02
commit d42b5604ce
7 changed files with 66 additions and 30 deletions

View File

@@ -39,7 +39,7 @@
#include "lwip/udp.h"
#include "netif/etharp.h"
typedef bool (*dns_query_proc_t)(const char *name, ip_addr_t *addr);
typedef bool (*dns_query_proc_t)(const char *name, ip4_addr_t *addr);
err_t dnserv_init(const ip_addr_t *bind, uint16_t port, dns_query_proc_t query_proc);
void dnserv_free(void);