diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-26 17:54:32 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-26 17:54:32 +0000 |
commit | f71f3decb655de938f35e99023593d43f6f7883c (patch) | |
tree | ba49c58e785561d61b72e5a3b8b75eef559f96bf /epan/dissectors/packet-ssh.c | |
parent | 114600a2530e277e32a6056ece097d6ea6dce58b (diff) |
Dissect SSH over SCTP when using the IANA assigned SCTP port 22.
svn path=/trunk/; revision=41197
Diffstat (limited to 'epan/dissectors/packet-ssh.c')
-rw-r--r-- | epan/dissectors/packet-ssh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssh.c b/epan/dissectors/packet-ssh.c index aa4339938f..a0cb99e5a9 100644 --- a/epan/dissectors/packet-ssh.c +++ b/epan/dissectors/packet-ssh.c @@ -148,6 +148,7 @@ static gint ett_ssh2= -1; static gboolean ssh_desegment = TRUE; #define TCP_PORT_SSH 22 +#define SCTP_PORT_SSH 22 /* Message Numbers (from RFC 4250) (1-255) */ @@ -1337,4 +1338,5 @@ proto_reg_handoff_ssh(void) ssh_handle = create_dissector_handle(dissect_ssh, proto_ssh); dissector_add_uint("tcp.port", TCP_PORT_SSH, ssh_handle); + dissector_add_uint("sctp.port", SCTP_PORT_SSH, ssh_handle); } |