Ignore:
Timestamp:
02/13/07 16:36:07 (14 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:
d4336d5
Parents:
deab767f
Message:

Fixed TCP option length calculation in libpacketdump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/ip_6.c

    r0a22046 rc14602f  
    3939                        (*len)-=*optlen;
    4040                        (*data)=(*ptr+2);
    41                         (*ptr)+=*optlen+2;
     41                        (*ptr)+=*optlen;        /* Not optlen + 2! */
    4242                        if (*len<0)
    4343                                return 0;
Note: See TracChangeset for help on using the changeset viewer.