summaryrefslogtreecommitdiff
path: root/packet-isakmp.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-isakmp.c
parent8b2e03eea6229b300b3de3322f14c446d0c303e9 (diff)
downloadwireshark-f93c76fd10c0899a5ce6b8eae5009c5b374cdbd8.tar.gz
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-isakmp.c')
-rw-r--r--packet-isakmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-isakmp.c b/packet-isakmp.c
index c6267a0904..65867c86da 100644
--- a/packet-isakmp.c
+++ b/packet-isakmp.c
@@ -2,7 +2,7 @@
* Routines for the Internet Security Association and Key Management Protocol (ISAKMP)
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-isakmp.c,v 1.7 1999/07/29 05:46:57 gram Exp $
+ * $Id: packet-isakmp.c,v 1.8 1999/08/26 07:34:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -289,7 +289,7 @@ void dissect_isakmp(const u_char *pd, int offset, frame_data *fd, proto_tree *tr
if (check_col(fd, COL_INFO))
col_add_fstr(fd, COL_INFO, "%s", exchtype2str(hdr->exch_type));
- if (fd->cap_len > offset && tree) {
+ if (pi.captured_len > offset && tree) {
proto_item * ti;
proto_tree * isakmp_tree;