diff options
Diffstat (limited to 'packet-gre.c')
-rw-r--r-- | packet-gre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-gre.c b/packet-gre.c index 9a6a57fbd7..b8298dfaae 100644 --- a/packet-gre.c +++ b/packet-gre.c @@ -2,7 +2,7 @@ * Routines for the Generic Routing Encapsulation (GRE) protocol * Brad Robel-Forrest <brad.robel-forrest@watchguard.com> * - * $Id: packet-gre.c,v 1.5 1999/08/26 07:34:42 guy Exp $ + * $Id: packet-gre.c,v 1.6 1999/09/17 05:56:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -77,7 +77,7 @@ dissect_gre(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { col_add_str(fd, COL_INFO, "Encapsulated unknown"); } - if (pi.captured_len > offset && tree) { + if (IS_DATA_IN_FRAME(offset) && tree) { int is_ppp; proto_item * ti; proto_tree * gre_tree; |