diff options
Diffstat (limited to 'testing/strongswan/adns.patch')
-rw-r--r-- | testing/strongswan/adns.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/strongswan/adns.patch b/testing/strongswan/adns.patch new file mode 100644 index 0000000000..52c1852d0e --- /dev/null +++ b/testing/strongswan/adns.patch @@ -0,0 +1,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 */ |