mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Clarify proxy type support in Ncat server. Fixes #1901
This commit is contained in:
parent
a2d44ab1b4
commit
1b1a85cc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue