BER: Add the posibillity to do "decode as" on an UDP port.

Change-Id: I2897b32b58f154c9998316b16d24bf97ef544153
Reviewed-on: https://code.wireshark.org/review/37628
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Anders Broman 2020-07-01 08:40:03 +02:00 committed by Anders Broman
parent 4b40c28a0e
commit 133dbc2178
1 changed files with 2 additions and 1 deletions

View File

@ -4654,9 +4654,10 @@ proto_reg_handoff_ber(void)
syntax_names[i].value = 0;
syntax_names[i].strptr = NULL;
/* allow the dissection of BER/DER carried over a TCP transport
/* allow the dissection of BER/DER carried over a TCP/UDP transport
by using "Decode As..." */
dissector_add_for_decode_as_with_preference("tcp.port", ber_handle);
dissector_add_for_decode_as_with_preference("udp.port", ber_handle);
ber_update_oids();
}