aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pptp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-08-26 07:34:43 +0000
committerGuy Harris <guy@alum.mit.edu>1999-08-26 07:34:43 +0000
commitf93c76fd10c0899a5ce6b8eae5009c5b374cdbd8 (patch)
treebd78b3a5917f10ac3c0089bfed2d856bf0db57c7 /packet-pptp.c
parent8b2e03eea6229b300b3de3322f14c446d0c303e9 (diff)
Convert a bunch of uses of "fd->cap_len" to use "pi.captured_len" (or to
use END_OF_FRAME), so that they don't look at stuff in an IP datagram past the end of the IP datagram (i.e., frame padding). svn path=/trunk/; revision=584
Diffstat (limited to 'packet-pptp.c')
-rw-r--r--packet-pptp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-pptp.c b/packet-pptp.c
index a29f2c18a1..376434ab1a 100644
--- a/packet-pptp.c
+++ b/packet-pptp.c
@@ -2,7 +2,7 @@
* Routines for the Point-to-Point Tunnelling Protocol (PPTP)
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-pptp.c,v 1.3 1999/07/13 02:52:53 gram Exp $
+ * $Id: packet-pptp.c,v 1.4 1999/08/26 07:34:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -390,7 +390,7 @@ dissect_pptp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
if (check_col(fd, COL_INFO))
col_add_fstr(fd, COL_INFO, "%s", cntrltype2str(cntrl_type));
- if (fd->cap_len > offset && tree) {
+ if (pi.captured_len > offset && tree) {
guint16 msg_type;
proto_item * ti;
proto_tree * pptp_tree;