mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 05:09:02 +00:00
Clarify proxy type support in Ncat server. Fixes #1901
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user