aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-05 00:34:12 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-05 00:34:12 +0000
commit6264b10b5981f4757f9df4d3293e6494fb098d14 (patch)
tree9fc68a242f2162b1c33edea86e4e718bbb21f4f1 /epan
parent6fa14c036b5d69ae1de5498ba1cab664c3697ec4 (diff)
Put the pointer to "tcp_dissect_pdus()" in the function pointer table
where the pointer to "dissect_data()" was in 0.9.3; the pointer to "dissect_data()" wasn't initialized in 0.9.3 (as the function wasn't exported - you call it through a handle), so no plugin should have been using it, and putting the pointer to "tcp_dissect_pdus()" in its place means the structure offsets of all function pointers after it will be the same in 0.9.3 and the next release, preserving binary compatibility for plugins. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5395 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/plugins.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/plugins.c b/epan/plugins.c
index 84dbd62b40..9e19311027 100644
--- a/epan/plugins.c
+++ b/epan/plugins.c
@@ -1,7 +1,7 @@
/* plugins.c
* plugin routines
*
- * $Id: plugins.c,v 1.51 2002/05/05 00:16:34 guy Exp $
+ * $Id: plugins.c,v 1.52 2002/05/05 00:34:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -320,6 +320,8 @@ init_plugins(const char *plugin_dir)
patable.p_create_dissector_handle = create_dissector_handle;
patable.p_call_dissector = call_dissector;
+ patable.p_tcp_dissect_pdus = tcp_dissect_pdus;
+
patable.p_proto_is_protocol_enabled = proto_is_protocol_enabled;
patable.p_proto_item_get_len = proto_item_get_len;
@@ -444,7 +446,6 @@ init_plugins(const char *plugin_dir)
patable.p_dissect_tpkt_encap = dissect_tpkt_encap;
patable.p_set_actual_length = set_actual_length;
- patable.p_tcp_dissect_pdus = tcp_dissect_pdus;
patable.p_decode_boolean_bitfield = decode_boolean_bitfield;
patable.p_decode_numeric_bitfield = decode_numeric_bitfield;
patable.p_decode_enumerated_bitfield = decode_enumerated_bitfield;