summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-lapdm.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-01-14 02:28:38 +0000
committerBill Meier <wmeier@newsguy.com>2009-01-14 02:28:38 +0000
commite4eaa3ee4aa6e62cc246eccf90ba8ac57ae9d7fa (patch)
treef6b6ccac209e837e00cdc6fbfa2d2088aae99807 /epan/dissectors/packet-lapdm.c
parent583c21e9b835041f9cc5ae5b20f377ea054c840b (diff)
downloadwireshark-e4eaa3ee4aa6e62cc246eccf90ba8ac57ae9d7fa.tar.gz
reg_handoff: removed unneeded code; also: prefs callback not req'd
svn path=/trunk/; revision=27229
Diffstat (limited to 'epan/dissectors/packet-lapdm.c')
-rw-r--r--epan/dissectors/packet-lapdm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-lapdm.c b/epan/dissectors/packet-lapdm.c
index 0b7b86bed3..6ccf393a59 100644
--- a/epan/dissectors/packet-lapdm.c
+++ b/epan/dissectors/packet-lapdm.c
@@ -340,11 +340,7 @@ dissect_lapdm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
void
proto_reg_handoff_lapdm(void)
{
- dissector_handle_t lapdm_handle;
-
data_handle = find_dissector("data");
-
- lapdm_handle = create_dissector_handle(dissect_lapdm, proto_lapdm);
}
void
@@ -482,7 +478,7 @@ proto_register_lapdm(void)
lapdm_sapi_dissector_table = register_dissector_table("lapdm.sapi", "LAPDm SAPI", FT_UINT8, BASE_DEC);
- lapdm_module = prefs_register_protocol(proto_lapdm, proto_reg_handoff_lapdm);
+ lapdm_module = prefs_register_protocol(proto_lapdm, NULL);
prefs_register_bool_preference(lapdm_module, "reassemble",
"Reassemble fragmented LAPDm packets",
"Whether the dissector should defragment LAPDm messages spanning multiple packets.",