Changeset a78665c for lib/protocols_l3.c


Ignore:
Timestamp:
12/19/07 19:27:15 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
1066d75
Parents:
411666a
Message:

Whitespace changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_l3.c

    r411666a ra78665c  
    145145                        remaining);
    146146
    147         /* These should really update remaining */
    148147        for(;;) {
    149148                if (!iphdr || *remaining == 0)
     
    172171        if (!iphdr || *remaining == 0)
    173172                return NULL;
     173
    174174        /* Store values in the cache for later */
    175175        /* Cast away constness, nasty, but this is just a cache */
    176176        ((libtrace_packet_t*)packet)->l3_ethertype = *ethertype;
    177177        ((libtrace_packet_t*)packet)->l3_header = iphdr;
     178
    178179        return iphdr;
    179180}
Note: See TracChangeset for help on using the changeset viewer.