handle dns lookup failures

This commit is contained in:
Andreas Steffen
2007-08-02 18:38:28 +00:00
parent f8afabcac3
commit ec11518d1b
4 changed files with 37 additions and 9 deletions
+1 -1
View File
@@ -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;