mirror of https://github.com/neosmart/tcpproxy.git
Correct copy-and-paste of UDP to TCP
This commit is contained in:
parent
44b8380ad8
commit
9ad24e5a96
|
@ -23,11 +23,11 @@ async fn main() -> Result<(), BoxedError> {
|
|||
let mut opts = Options::new();
|
||||
opts.reqopt("l",
|
||||
"local-port",
|
||||
"The local port to which udpproxy should bind to",
|
||||
"The local port to which tcpproxy should bind to",
|
||||
"LOCAL_PORT");
|
||||
opts.reqopt("r",
|
||||
"remote-port",
|
||||
"The remote port to which UDP packets should be forwarded",
|
||||
"The remote port to which TCP packets should be forwarded",
|
||||
"REMOTE_PORT");
|
||||
opts.reqopt("h",
|
||||
"host",
|
||||
|
|
Loading…
Reference in New Issue