summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2012-06-01 00:49:36 +0000
committerDamien Miller <djm@cvs.openbsd.org>2012-06-01 00:49:36 +0000
commit223b45f94b34e8247a0599be05c4d35093598d01 (patch)
tree0f810221e57597ba8bec49c3f62d0d983ef7d1f5
parente43ae1c437e45f70b53d352b8e8974cb646bc833 (diff)
correct types of port numbers (integers, not strings); bz#2004 from
bert.wesarg AT googlemail.com
-rw-r--r--usr.bin/ssh/PROTOCOL.mux10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/PROTOCOL.mux b/usr.bin/ssh/PROTOCOL.mux
index 49cbe5b457f..b5832561c0e 100644
--- a/usr.bin/ssh/PROTOCOL.mux
+++ b/usr.bin/ssh/PROTOCOL.mux
@@ -110,9 +110,9 @@ A client may request the master to establish a port forward:
uint32 request id
uint32 forwarding type
string listen host
- string listen port
+ uint32 listen port
string connect host
- string connect port
+ uint32 connect port
forwarding type may be MUX_FWD_LOCAL, MUX_FWD_REMOTE, MUX_FWD_DYNAMIC.
@@ -135,9 +135,9 @@ A client may request the master to close a port forward:
uint32 request id
uint32 forwarding type
string listen host
- string listen port
+ uint32 listen port
string connect host
- string connect port
+ uint32 connect port
A server may reply with a MUX_S_OK, a MUX_S_PERMISSION_DENIED or a
MUX_S_FAILURE.
@@ -219,4 +219,4 @@ XXX inject packet (what about replies)
XXX server->client error/warning notifications
XXX send signals via mux
-$OpenBSD: PROTOCOL.mux,v 1.8 2011/09/09 00:44:07 djm Exp $
+$OpenBSD: PROTOCOL.mux,v 1.9 2012/06/01 00:49:35 djm Exp $