[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: [master] 21956d6c2 Pass correct args to VSS_ResolveOne
From: Poul-Henning Kamp <phk () FreeBSD ! org>
Date: 2019-05-30 14:53:10
Message-ID: 20190530145310.33D92105F9B () lists ! varnish-cache ! org
[Download RAW message or body]
commit 21956d6c2ec6067939cbeffe5f7789a8d09c9af8
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Thu May 30 13:33:04 2019 +0000
Pass correct args to VSS_ResolveOne
diff --git a/bin/varnishtest/vtc_misc.c b/bin/varnishtest/vtc_misc.c
index 8009820e4..d2c897f46 100644
--- a/bin/varnishtest/vtc_misc.c
+++ b/bin/varnishtest/vtc_misc.c
@@ -29,6 +29,7 @@
#include "config.h"
#include <sys/wait.h>
+#include <sys/socket.h>
#include <grp.h>
#include <math.h>
@@ -351,7 +352,7 @@ dns_works(void)
char abuf[VTCP_ADDRBUFSIZE];
char pbuf[VTCP_PORTBUFSIZE];
- sa = VSS_ResolveOne(NULL, "dns-canary.freebsd.dk", NULL, 0, 0, 0);
+ sa = VSS_ResolveOne(NULL, "dns-canary.freebsd.dk", NULL, AF_UNSPEC, SOCK_STREAM, 0);
if (sa == NULL)
return (0);
VTCP_name(sa, abuf, sizeof abuf, pbuf, sizeof pbuf);
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic