Support resolution of "allow_any" DNS names in charon (%hostname)
This commit is contained in:
@@ -246,11 +246,8 @@ 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;
|
break;
|
||||||
case KW_SUBNET:
|
case KW_SUBNET:
|
||||||
if ((strlen(value) >= 6 && strncmp(value,"vhost:",6) == 0)
|
if ((strlen(value) >= 6 && strncmp(value,"vhost:",6) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user