diff options
author | Jörg Mayer <jmayer@loplof.de> | 2008-12-16 12:28:49 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2008-12-16 12:28:49 +0000 |
commit | ab7331c39388f4a48314474f571bd1546d25714b (patch) | |
tree | 00c7e0b544b15cd784a14da401c814f30bd43f41 | |
parent | ec71844d5bad78985b41ad8dfff5f2ea492e655c (diff) |
If a packet is fragmented, show the packet id in the info column.
svn path=/trunk/; revision=27021
-rw-r--r-- | epan/dissectors/packet-ip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index 46bd7ee304..b835f4302b 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -1537,8 +1537,9 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) if (next_tvb == NULL) { /* Just show this as a fragment. */ if (check_col(pinfo->cinfo, COL_INFO)) { - col_add_fstr(pinfo->cinfo, COL_INFO, "Fragmented IP protocol (proto=%s 0x%02x, off=%u)", - ipprotostr(iph->ip_p), iph->ip_p, (iph->ip_off & IP_OFFSET) * 8); + col_add_fstr(pinfo->cinfo, COL_INFO, "Fragmented IP protocol (proto=%s 0x%02x, off=%u, ID=%04x)", + ipprotostr(iph->ip_p), iph->ip_p, (iph->ip_off & IP_OFFSET) * 8, + iph->ip_id); } if( ipfd_head && ipfd_head->reassembled_in != pinfo->fd->num ){ if (check_col(pinfo->cinfo, COL_INFO)) { |