Ignore:
Timestamp:
12/16/11 13:19:40 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
48d72f8
Parents:
50c5053
Message:
  • Only decode the next header after an IPv6 fragmentation header if the current fragment is the first one
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/ip_44.c

    re845da6 r31413f1  
    2727        printf(" IPv6 Frag: Identification: %u\n", ntohl(frag->ident));
    2828
     29        /* Only dump the next header if this is the first fragment */
     30        if ((offset & 0xFFF8) != 0)
     31                return;
     32
    2933        decode_next(packet + sizeof(libtrace_ip6_frag_t),
    3034                        len - sizeof(libtrace_ip6_frag_t), "ip", frag->nxt);
Note: See TracChangeset for help on using the changeset viewer.