aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterwhack.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-08-02 18:38:28 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-08-02 18:38:28 +0000
commitec11518d1b7f3d3a52e99e661de7f628f3da10cf (patch)
tree10a6fdaa263eac51d96f9b512ad16398ba9362f6 /src/starter/starterwhack.c
parentf8afabcac3858f1c43f5fad4ca9fdbc01614180b (diff)
downloadstrongswan-ec11518d1b7f3d3a52e99e661de7f628f3da10cf.tar.bz2
strongswan-ec11518d1b7f3d3a52e99e661de7f628f3da10cf.tar.xz
handle dns lookup failures
Diffstat (limited to 'src/starter/starterwhack.c')
-rw-r--r--src/starter/starterwhack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starterwhack.c b/src/starter/starterwhack.c
index e920fc7ee..a546304c9 100644
--- a/src/starter/starterwhack.c
+++ b/src/starter/starterwhack.c
@@ -168,9 +168,9 @@ set_whack_end(whack_end_t *w, starter_end_t *end)
w->has_port_wildcard = end->has_port_wildcard;
w->has_srcip = end->has_srcip;
w->has_natip = end->has_natip;
+ w->allow_any = end->allow_any && !end->dns_failed;
w->modecfg = end->modecfg;
w->hostaccess = end->hostaccess;
- w->allow_any = end->allow_any;
w->sendcert = end->sendcert;
w->updown = end->updown;
w->host_port = IKE_UDP_PORT;