summaryrefslogtreecommitdiff
path: root/lib/networking/dnserver.h
diff options
context:
space:
mode:
authorPeter Lawrence <[email protected]>2021-10-15 20:10:19 -0500
committerPeter Lawrence <[email protected]>2021-10-19 11:29:51 -0500
commitd42b5604ce6ccdd9c5acba009e6a3d95c27ca573 (patch)
tree688158c9ada4e17a7a1b1750a9e5444f1968acf1 /lib/networking/dnserver.h
parent4bfab30c02279a0530e1a56f4a7c539f2d35a293 (diff)
net_lwip_webserver: allow users to enable LWIP_IP6 if desired
Diffstat (limited to 'lib/networking/dnserver.h')
-rw-r--r--lib/networking/dnserver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/networking/dnserver.h b/lib/networking/dnserver.h
index 130991f5f..a062e3aa7 100644
--- a/lib/networking/dnserver.h
+++ b/lib/networking/dnserver.h
@@ -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);