Clarify proxy type support in Ncat server. Fixes #1901

This commit is contained in:
dmiller 2020-02-03 20:18:44 +00:00
parent a2d44ab1b4
commit 1b1a85cc6b

View file

@ -819,7 +819,7 @@ int main(int argc, char *argv[])
if (!o.listen)
bye("Proxy type (--proxy-type) specified without proxy address (--proxy).");
if (strcmp(o.proxytype, "http"))
bye("Invalid proxy type \"%s\".", o.proxytype);
bye("Invalid proxy type \"%s\"; Ncat proxy server only supports \"http\".", o.proxytype);
}
}