From 39e30aa51d99073d0730a53591cb692d71b6bb6c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 28 Jan 2017 16:51:32 -0800 Subject: 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 --- epan/dissectors/asn1/t38/packet-t38-template.c | 3 ++- epan/dissectors/packet-t38.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'epan') 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); } - diff --git a/epan/dissectors/packet-t38.c b/epan/dissectors/packet-t38.c index e0d896c622..1f58300be3 100644 --- a/epan/dissectors/packet-t38.c +++ b/epan/dissectors/packet-t38.c @@ -1448,5 +1448,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); } - -- cgit v1.2.3