aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/t38
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-28 16:51:32 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-29 00:53:55 +0000
commit39e30aa51d99073d0730a53591cb692d71b6bb6c (patch)
treec52bbfb75bfe2e99ffad9c0dae7e9e6772826a72 /epan/dissectors/asn1/t38
parente4c1e42a169f6f4214ff25be75d6b108ba4f1281 (diff)
Allow Decode As for T.38-over-TCP and T.38-over-UDP.
This got lost as part of change 9132706b2dca67c4991edf0f3779d1d43d4b3f65 - that removed the explicit registering, with a port number, in the tcp.port and udp.port dissector tables, *without* replacing it with a dissector_add_for_decode_as() registering it *without* a port number. Change-Id: I9ae22418553c143d51f9a78f5c0901f2f6490351 Reviewed-on: https://code.wireshark.org/review/19832 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/asn1/t38')
-rw-r--r--epan/dissectors/asn1/t38/packet-t38-template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/t38/packet-t38-template.c b/epan/dissectors/asn1/t38/packet-t38-template.c
index bdf42f645e..98ce54a1a3 100644
--- a/epan/dissectors/asn1/t38/packet-t38-template.c
+++ b/epan/dissectors/asn1/t38/packet-t38-template.c
@@ -768,5 +768,6 @@ proto_reg_handoff_t38(void)
rtp_handle = find_dissector_add_dependency("rtp", proto_t38);
t30_hdlc_handle = find_dissector_add_dependency("t30.hdlc""rtp", proto_t38);
data_handle = find_dissector("data");
+ dissector_add_for_decode_as("tcp.port", t38_tcp_handle);
+ dissector_add_for_decode_as("udp.port", t38_udp_handle);
}
-