diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-05 00:34:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-05 00:34:12 +0000 |
commit | a6e169fc272f8bf34137c17bcb58c11c18c21e51 (patch) | |
tree | 9fc68a242f2162b1c33edea86e4e718bbb21f4f1 /epan | |
parent | eb70c97a9bd9f362a3e2f888dd082c5b9b4b9516 (diff) | |
download | wireshark-a6e169fc272f8bf34137c17bcb58c11c18c21e51.tar.gz wireshark-a6e169fc272f8bf34137c17bcb58c11c18c21e51.tar.bz2 wireshark-a6e169fc272f8bf34137c17bcb58c11c18c21e51.zip |
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.
svn path=/trunk/; revision=5395
Diffstat (limited to 'epan')
-rw-r--r-- | epan/plugins.c | 5 |
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; |