diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-23 02:30:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-23 02:30:16 +0000 |
commit | 7027650b5ce8aeeb4e2e7aa91d670d213cde18b2 (patch) | |
tree | 76c316fccc8cd65e62d297bdd5570830d467c847 /plugins | |
parent | 5d5d507a2977fc97c595e4d25a480889001ef615 (diff) |
"is_tpkt()" is always used to check a TCP segment to see if it might
have a TPKT header at the beginning, so there's not need for it to have
an offset as an argument; its callers don't have to know how big the
TPKT header is (or we can put a #define in "packet-tpkt.h" for it). Get
rid of the second argument.
svn path=/trunk/; revision=4791
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h index 580df8e0b4..ed1fc48944 100644 --- a/plugins/plugin_table.h +++ b/plugins/plugin_table.h @@ -1,7 +1,7 @@ /* plugin_table.h * Table of exported addresses for Ethereal plugins. * - * $Id: plugin_table.h,v 1.41 2002/02/22 08:56:48 guy Exp $ + * $Id: plugin_table.h,v 1.42 2002/02/23 02:30:16 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -221,7 +221,7 @@ typedef gint8 (*addr_get_CDR_wchar)(tvbuff_t *, gchar **, int *, typedef guint32 (*addr_get_CDR_wstring)(tvbuff_t *, gchar **, int *, gboolean, int, MessageHeader *); -typedef int (*addr_is_tpkt)(tvbuff_t *, int *); +typedef int (*addr_is_tpkt)(tvbuff_t *); typedef void (*addr_dissect_tpkt_encap)(tvbuff_t *, packet_info *, proto_tree *, gboolean, dissector_handle_t); |