Allow Decode As for T.38-over-TCP and T.38-over-UDP.

This got lost as part of change 9132706b2d
- 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>
This commit is contained in:
Guy Harris 2017-01-28 16:51:32 -08:00
parent e4c1e42a16
commit 39e30aa51d
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}