diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-09-27 14:02:23 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-09-27 14:02:23 +0000 |
commit | 69336f7d96e4939e5645926c912151b325f365ea (patch) | |
tree | 8d966d8f7e3d67dc0e6761e5693989cc053b38fd /epan/dissectors/packet-esis.c | |
parent | 97e7747d4283928942c8e5e9a5d77c742d79c933 (diff) | |
download | wireshark-69336f7d96e4939e5645926c912151b325f365ea.tar.gz |
Minor cleanup for proto_reg-handoff & etc
svn path=/trunk/; revision=26285
Diffstat (limited to 'epan/dissectors/packet-esis.c')
-rw-r--r-- | epan/dissectors/packet-esis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c index c19d03d12b..cf981f831e 100644 --- a/epan/dissectors/packet-esis.c +++ b/epan/dissectors/packet-esis.c @@ -439,6 +439,7 @@ proto_register_esis(void) { proto_esis = proto_register_protocol( PROTO_STRING_ESIS, "ESIS", "esis"); proto_register_field_array(proto_esis, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + register_dissector("esis", dissect_esis, proto_esis); } void @@ -446,7 +447,6 @@ proto_reg_handoff_esis(void) { dissector_handle_t esis_handle; - esis_handle = create_dissector_handle(dissect_esis, proto_esis); - register_dissector("esis", dissect_esis, proto_esis); + esis_handle = find_dissector("esis"); dissector_add("osinl", NLPID_ISO9542_ESIS, esis_handle); } |