Dissect SSH over SCTP when using the IANA assigned SCTP port 22.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Feb 2012 17:54:32 +0000 (17:54 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Feb 2012 17:54:32 +0000 (17:54 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41197 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-ssh.c

index aa4339938f8ea6fdd3ad45102e2827278270ebbf..a0cb99e5a92c99216db1d802c276727015f0c995 100644 (file)
@@ -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);
 }