aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-11-09 18:56:31 +0100
committerMichael Mann <mmann78@netscape.net>2017-11-09 21:31:36 +0000
commit19a46ba774b127ca0b6a96772310f149f2ff198a (patch)
tree223e5c60bf88453ddca11a5bc1543bb86a400505
parent775bbbcded718ffe6d429bb68e1170b2ef3f7778 (diff)
RIP: do not register proto_reg_handoff_rip() callback
Bug: 14197 Change-Id: Ib6a46e09622d85fabbf8465a9234af3a959b9663 Reviewed-on: https://code.wireshark.org/review/24327 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-rip.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rip.c b/epan/dissectors/packet-rip.c
index 28c4d5a..cba3fa5 100644
--- a/epan/dissectors/packet-rip.c
+++ b/epan/dissectors/packet-rip.c
@@ -82,9 +82,6 @@ static const value_string rip_auth_type[] = {
static gboolean pref_display_routing_domain = FALSE;
-void proto_reg_handoff_rip(void);
-
-
static dissector_handle_t rip_handle;
static header_field_info *hfi_rip = NULL;
@@ -383,7 +380,7 @@ proto_register_rip(void)
expert_rip = expert_register_protocol(proto_rip);
expert_register_field_array(expert_rip, ei, array_length(ei));
- rip_module = prefs_register_protocol(proto_rip, proto_reg_handoff_rip);
+ rip_module = prefs_register_protocol(proto_rip, NULL);
prefs_register_bool_preference(rip_module, "display_routing_domain", "Display Routing Domain field", "Display the third and forth bytes of the RIPv2 header as the Routing Domain field (introduced in RFC 1388 [January 1993] and obsolete as of RFC 1723 [November 1994])", &pref_display_routing_domain);