diff options
Diffstat (limited to 'packet-bootp.c')
-rw-r--r-- | packet-bootp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-bootp.c b/packet-bootp.c index 94d13636f3..d24ba465ae 100644 --- a/packet-bootp.c +++ b/packet-bootp.c @@ -2,7 +2,7 @@ * Routines for BOOTP/DHCP packet disassembly * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-bootp.c,v 1.18 1999/07/29 05:46:52 gram Exp $ + * $Id: packet-bootp.c,v 1.19 1999/08/26 07:34:43 guy Exp $ * * The information used comes from: * RFC 2132: DHCP Options and BOOTP Vendor Extensions @@ -517,7 +517,7 @@ dissect_bootp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) } voff = offset+240; - eoff = fd->cap_len; + eoff = pi.captured_len; while (voff < eoff) { voff += bootp_option(pd, bp_tree, voff, eoff); |