summaryrefslogtreecommitdiff
path: root/lib/networking/dnserver.h
diff options
context:
space:
mode:
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);