aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-thread.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2022-08-07 09:28:32 -0400
committerAndersBroman <a.broman58@gmail.com>2022-08-09 06:21:05 +0000
commit203cd2cba90014acf1452f8eaf502d5c5f7fd9a2 (patch)
tree743d421202779f5e79099f7296b91174fdbe53b3 /epan/dissectors/packet-thread.c
parent862803de5cb903ce8b286bc3ec28ef903dd5b49a (diff)
prefs: More cleanup, auto prefs
Remove callback function from pref registrations for dissectors that don't need a callback. In other dissectors, move registration that only needs to be done once inside the check for initialization, avoiding some console messages when preferences are changed ("Duplicate dissectors (anonymous) and (anonymous) for protocol...") and the like. Add a couple auto preferences for dissectors missed in previous waves. Ping #14319
Diffstat (limited to 'epan/dissectors/packet-thread.c')
-rw-r--r--epan/dissectors/packet-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-thread.c b/epan/dissectors/packet-thread.c
index 491230faab..808ab838ac 100644
--- a/epan/dissectors/packet-thread.c
+++ b/epan/dissectors/packet-thread.c
@@ -3365,7 +3365,7 @@ proto_register_thread(void)
proto_thread = proto_register_protocol("Thread", "Thread", "thread");
- thread_module = prefs_register_protocol(proto_thread, proto_reg_handoff_thread);
+ thread_module = prefs_register_protocol(proto_thread, NULL);
prefs_register_obsolete_preference(thread_module, "thr_coap_decode");
prefs_register_string_preference(thread_module, "thr_seq_ctr",
"Thread sequence counter",