summaryrefslogtreecommitdiffstats
path: root/testing/strongswan/adns.patch
blob: 52c1852d0e1bb872d1b516f2fb867ab9062b602d (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/pluto/adns.c
+++ b/src/pluto/adns.c
@@ -179,7 +179,7 @@
	res_query(dname, class, type, answer, anslen)
 # define res_nclose(statp) res_close()

-static struct __res_state *statp = &_res;
+#define statp (&(_res))

 #else /* !OLD_RESOLVER */