diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-09-23 00:55:28 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-09-23 00:55:28 +0000 |
commit | 78e92e40cb8e781db891b5c30c5dc3608e6462c8 (patch) | |
tree | e9d026f205906440ff7016239d06ea54f19b9827 /epan/dissectors/packet-tipc.c | |
parent | 3ead9b3643a13aeac3f164f2b94065b1923a6b03 (diff) |
Minor revision related to proto_reg_handoff ...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26252 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tipc.c')
-rw-r--r-- | epan/dissectors/packet-tipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c index 1f88c1ea02..d7a16f0027 100644 --- a/epan/dissectors/packet-tipc.c +++ b/epan/dissectors/packet-tipc.c @@ -2966,11 +2966,11 @@ void proto_reg_handoff_tipc(void) { static gboolean inited = FALSE; - static dissector_handle_t tipc_handle; static dissector_handle_t tipc_tcp_handle; static guint tipc_alternate_tcp_port_prev = 0; if (!inited) { + dissector_handle_t tipc_handle; tipc_handle = create_dissector_handle(dissect_tipc, proto_tipc); tipc_tcp_handle = new_create_dissector_handle(dissect_tipc_tcp, proto_tipc); ip_handle = find_dissector("ip"); |