DCT2000: Lookup xnap and ngap protocols

This commit is contained in:
Martin Mathieson 2021-04-28 10:20:39 +01:00 committed by Wireshark GitLab Utility
parent 0d12050e5e
commit e8fd04a145
1 changed files with 8 additions and 0 deletions

View File

@ -1440,6 +1440,14 @@ static dissector_handle_t look_for_dissector(const char *protocol_name)
if (strncmp(protocol_name, "x2ap_r", 6) == 0) {
return find_dissector("x2ap");
}
else
if (strncmp(protocol_name, "xnap_r1", 7) == 0) {
return find_dissector("xnap");
}
else
if (strncmp(protocol_name, "ngap_r1", 7) == 0) {
return find_dissector("ngap");
}
/* Only check really old names to convert if preference is checked */
else if (catapult_dct2000_dissect_old_protocol_names) {