diff options
author | Dr. Lars Völker <lars.voelker@technica-engineering.de> | 2022-01-07 13:24:54 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-01-07 22:47:26 +0000 |
commit | 0e5148e9ee4584fb79bc5ed310ef8fb813e5198d (patch) | |
tree | f95ad3583ec40fb07f68f9ce3ad37da6ccc105c4 /epan/dissectors/packet-tecmp.c | |
parent | 2287014f040e1bae1d18f8fc1cc725533325e50c (diff) |
TECMP: Fix warning that dissector_add_uint is called too often
Diffstat (limited to 'epan/dissectors/packet-tecmp.c')
-rw-r--r-- | epan/dissectors/packet-tecmp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tecmp.c b/epan/dissectors/packet-tecmp.c index 91c31e2646..1b8f4d2ce4 100644 --- a/epan/dissectors/packet-tecmp.c +++ b/epan/dissectors/packet-tecmp.c @@ -1,7 +1,7 @@ /* packet-tecmp.c * Technically Enhanced Capture Module Protocol (TECMP) dissector. * By <lars.voelker@technica-engineering.de> - * Copyright 2019-2021 Dr. Lars Voelker + * Copyright 2019-2022 Dr. Lars Voelker * Copyright 2020 Ayoub Kaanich * * Wireshark - Network traffic analyzer @@ -1846,7 +1846,7 @@ proto_register_tecmp(void) { proto_tecmp = proto_register_protocol("Technically Enhanced Capture Module Protocol", "TECMP", "tecmp"); proto_register_field_array(proto_tecmp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - tecmp_module = prefs_register_protocol(proto_tecmp, &proto_reg_handoff_tecmp); + tecmp_module = prefs_register_protocol(proto_tecmp, NULL); /* UATs */ tecmp_cmid_uat = uat_new("TECMP Capture Modules", @@ -1910,7 +1910,6 @@ proto_reg_handoff_tecmp(void) { fr_heur_subdissector_list = find_heur_dissector_list("flexray"); lin_subdissector_table = find_dissector_table("lin.frame_id"); - } /* |