Jesse Young 4655087902 testing/strongswan: new aport
An OpenSource IPsec implementation for the Linux operating system
http://www.strongswan.org/

Signed-off-by: Jesse Young <jlyo@jlyo.org>
2011-10-28 07:53:04 +00:00

11 lines
250 B
Diff

--- 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 */