diff options
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); } |