Correct copy-and-paste of UDP to TCP

This commit is contained in:
Mahmoud Al-Qudsi 2022-06-30 16:07:09 -05:00
parent 44b8380ad8
commit 9ad24e5a96
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@ async fn main() -> Result<(), BoxedError> {
let mut opts = Options::new(); let mut opts = Options::new();
opts.reqopt("l", opts.reqopt("l",
"local-port", "local-port",
"The local port to which udpproxy should bind to", "The local port to which tcpproxy should bind to",
"LOCAL_PORT"); "LOCAL_PORT");
opts.reqopt("r", opts.reqopt("r",
"remote-port", "remote-port",
"The remote port to which UDP packets should be forwarded", "The remote port to which TCP packets should be forwarded",
"REMOTE_PORT"); "REMOTE_PORT");
opts.reqopt("h", opts.reqopt("h",
"host", "host",