Changeset d186e42 for lib/format_tsh.c


Ignore:
Timestamp:
02/25/08 10:35:54 (14 years ago)
Author:
Yuwei Wang <yww4@…>
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:
03cecf2
Parents:
e59cbb4
Message:

expend line 123 and 139, make it compile with linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_tsh.c

    r2c124cf rd186e42  
    121121        }
    122122
    123         (char*)buffer2 += numbytes;
     123        buffer2 = (char*)buffer2 + numbytes;
    124124        packet->payload = buffer2;
    125125
     
    137137         * for them, and put the transport header where it "should" be
    138138         */
    139         (char*)buffer2 += ((libtrace_ip_t*)buffer2)->ip_hl*4;
     139        buffer2 = (char*)buffer2 + ((libtrace_ip_t*)buffer2)->ip_hl*4;
    140140
    141141        /* Read the transport header */
Note: See TracChangeset for help on using the changeset viewer.