summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-17 20:23:56 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-17 20:23:56 +0000
commitd06529686f89074fd4fa574ac6012f8a873e7857 (patch)
treee2fd4e499d8a633feeff288a9d42e904abca8903 /src/include
parent9d432bd8a07dd36247339c40fa6bf2719600fdb2 (diff)
downloads6-dns-d06529686f89074fd4fa574ac6012f8a873e7857.tar.xz
Prepare for 2.3.7.0; ignore link-local addresses in /etc/hosts
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/s6-dns/s6dns.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/s6-dns/s6dns.h b/src/include/s6-dns/s6dns.h
index de8c085..e19ae8d 100644
--- a/src/include/s6-dns/s6dns.h
+++ b/src/include/s6-dns/s6dns.h
@@ -3,6 +3,8 @@
#ifndef S6DNS_H
#define S6DNS_H
+#include <stdint.h>
+
#include <s6-dns/s6dns-constants.h>
#include <s6-dns/s6dns-ip46.h>
#include <s6-dns/s6dns-domain.h>
@@ -13,7 +15,8 @@
#include <s6-dns/s6dns-fmt.h>
#include <s6-dns/hosts.h>
-extern int s6dns_init (void) ;
+#define s6dns_init() s6dns_init_options(0)
+extern int s6dns_init_options (uint32_t) ;
extern void s6dns_finish (void) ;
#endif