static int closeVirtualHostDirective(MaState *state, cchar *key, cchar *value)
{
    HttpEndpoint    *endpoint;
    char            *address, *ip, *addresses, *tok;
    int             port;

    if (state->enabled) { 
        if (state->endpoints && *state->endpoints) {
            addresses = state->endpoints;
            while ((address = stok(addresses, " \t,", &tok)) != 0) {
                addresses = 0;
                mprParseSocketAddress(address, &ip, &port, NULL, -1);
                if ((endpoint = httpLookupEndpoint(ip, port)) == 0) {
                    mprLog("error appweb config", 0, "Cannot find listen directive for virtual host %s", address);
                    return MPR_ERR_BAD_SYNTAX;
                } else {
                    httpAddHostToEndpoint(endpoint, state->host);
                }
            }
        } else {
            httpAddHostToEndpoints(state->host);
        }
    }
    closeDirective(state, key, value);
    return 0;
}
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.