summaryrefslogtreecommitdiffstats
path: root/lib/libcasper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcasper')
-rw-r--r--lib/libcasper/services/cap_dns/cap_dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcasper/services/cap_dns/cap_dns.c b/lib/libcasper/services/cap_dns/cap_dns.c
index 873af4c..0ecf047 100644
--- a/lib/libcasper/services/cap_dns/cap_dns.c
+++ b/lib/libcasper/services/cap_dns/cap_dns.c
@@ -632,6 +632,7 @@ dns_getaddrinfo(const nvlist_t *limits, const nvlist_t *nvlin, nvlist_t *nvlout)
hints.ai_addrlen = 0;
hints.ai_addr = NULL;
hints.ai_canonname = NULL;
+ hints.ai_next = NULL;
hintsp = &hints;
family = hints.ai_family;
} else {
OpenPOWER on IntegriCloud