Support resolution of "allow_any" DNS names in charon (%hostname)
authorMartin Willi <martin@revosec.ch>
Fri, 2 Sep 2011 11:42:45 +0000 (13:42 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 2 Sep 2011 11:42:45 +0000 (13:42 +0200)
src/starter/confread.c

index fc7dd39..fa35341 100644 (file)
@@ -246,10 +246,7 @@ static void kw_end(starter_conn_t *conn, starter_end_t *end, kw_token_t token,
                                        goto err;
                                }
                        }
                                        goto err;
                                }
                        }
-                       if (!end->allow_any)
-                       {
-                               end->host = clone_str(value);
-                       }
+                       end->host = clone_str(value);
                }
                break;
        case KW_SUBNET:
                }
                break;
        case KW_SUBNET: