diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-09-26 20:06:40 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-09-26 20:06:40 +0000 |
commit | ffa7320de25b5bcb606b76a3cfd33bae52a2eab4 (patch) | |
tree | d66f6adcd622b89f5972d7caefee9cb897772f21 /epan/dissectors/packet-winsrepl.c | |
parent | a14b7b5264bb5f0f3f3784d1bd667675e7443447 (diff) |
Minor cleanup related to proto_register & proto_reg_handoff
svn path=/trunk/; revision=26280
Diffstat (limited to 'epan/dissectors/packet-winsrepl.c')
-rw-r--r-- | epan/dissectors/packet-winsrepl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-winsrepl.c b/epan/dissectors/packet-winsrepl.c index bb6cd24146..be138df5aa 100644 --- a/epan/dissectors/packet-winsrepl.c +++ b/epan/dissectors/packet-winsrepl.c @@ -106,8 +106,6 @@ static gint ett_winsrepl_send_reply = -1; static gint ett_winsrepl_flags = -1; -static dissector_handle_t winsrepl_handle; - #define WINS_REPLICATION_PORT ( 42 ) #define WREPL_OPCODE_BITS ( 0x7800 ) @@ -916,6 +914,8 @@ proto_register_winsrepl(void) void proto_reg_handoff_winsrepl(void) { + dissector_handle_t winsrepl_handle; + winsrepl_handle = create_dissector_handle(dissect_winsrepl, proto_winsrepl); dissector_add("tcp.port", glb_winsrepl_tcp_port, winsrepl_handle); } |