diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-04-05 21:54:41 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-04-05 21:54:41 +0000 |
commit | ee80616a8cd2f45731e0cebc1ef83265f469e7e4 (patch) | |
tree | cb9c2f6f810dab1546d1ce33ac726629495b6dd3 /packet-ip.c | |
parent | acecc4edf50036d0d24a45613725e287589a30ac (diff) |
FTP, POP, and Telnet support from Richard Sharpe.
svn path=/trunk/; revision=237
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index 8915201d9c..eb2933a7f3 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.20 1999/03/30 20:40:12 hannes Exp $ + * $Id: packet-ip.c,v 1.21 1999/04/05 21:54:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -703,6 +703,7 @@ dissect_ip(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { pi.iplen = iph.ip_len; pi.iphdrlen = lo_nibble(iph.ip_v_hl); pi.ip_src = iph.ip_src; + pi.payload = pi.iplen - hlen; offset += hlen; nxt = iph.ip_p; |