summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ssh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ssh.c b/epan/dissectors/packet-ssh.c
index cea1c8d934..244837507d 100644
--- a/epan/dissectors/packet-ssh.c
+++ b/epan/dissectors/packet-ssh.c
@@ -213,7 +213,8 @@ static gboolean ssh_desegment = TRUE;
static dissector_handle_t ssh_handle;
-#define TCP_PORT_SSH 22
+// 29418/tcp: Gerrit Code Review
+#define TCP_RANGE_SSH "22,29418"
#define SCTP_PORT_SSH 22
/* Message Numbers (from RFC 4250) (1-255) */
@@ -1258,7 +1259,6 @@ ssh_dissect_proposal(tvbuff_t *tvb, int offset, proto_tree *tree,
return offset;
}
-
void
proto_register_ssh(void)
{
@@ -1614,7 +1614,7 @@ proto_register_ssh(void)
void
proto_reg_handoff_ssh(void)
{
- dissector_add_uint_with_preference("tcp.port", TCP_PORT_SSH, ssh_handle);
+ dissector_add_uint_range_with_preference("tcp.port", TCP_RANGE_SSH, ssh_handle);
dissector_add_uint("sctp.port", SCTP_PORT_SSH, ssh_handle);
dissector_add_uint("sctp.ppi", SSH_PAYLOAD_PROTOCOL_ID, ssh_handle);
}