diff options
-rw-r--r-- | epan/packet.c | 7 | ||||
-rw-r--r-- | packet-frame.h | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/epan/packet.c b/epan/packet.c index 21479f2dcd..e3691c908e 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1,7 +1,7 @@ /* packet.c * Routines for packet disassembly * - * $Id: packet.c,v 1.9 2000/12/03 22:26:26 guy Exp $ + * $Id: packet.c,v 1.10 2000/12/03 22:32:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -83,9 +83,6 @@ #include "tvbuff.h" #include "plugins.h" -extern int proto_malformed; - - static void display_signed_time(gchar *, int, gint32, gint32); @@ -97,7 +94,7 @@ typedef struct _frame_proto_data { void *proto_data; } frame_proto_data; -GMemChunk *frame_proto_data_area = NULL; +static GMemChunk *frame_proto_data_area = NULL; /* diff --git a/packet-frame.h b/packet-frame.h index 62ed6584a9..b1f7517adb 100644 --- a/packet-frame.h +++ b/packet-frame.h @@ -2,7 +2,7 @@ * * Top-most dissector. Decides dissector based on Wiretap Encapsulation Type. * - * $Id: packet-frame.h,v 1.1 2000/10/06 10:10:49 gram Exp $ + * $Id: packet-frame.h,v 1.2 2000/12/03 22:32:09 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -26,3 +26,6 @@ void dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); + +/* "Protocol" used for "malformed frame" errors */ +extern int proto_malformed; |