Changeset e0f9c80 for lib


Ignore:
Timestamp:
09/08/06 16:44:06 (15 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:
4f666aa
Parents:
916bba7
Message:

Fixed build error for the libpacketdump parser which crops up if you specify --with-dag
Might have also added/removed some braces and newlines that I couldn't be bothered reverting before commit :]

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_wag.c

    r85a79b0 re0f9c80  
    450450       
    451451        struct frame_t * wag_frame_data = (struct frame_t *)packet->header;
    452 
    453452       
    454453        if (wag_frame_data->subtype == FRAME_SUBTYPE_DATA_RX) {
     
    463462                return ntohs(wag_hdr->txinfo.length);
    464463        }
    465        
     464
    466465        /* default option - not optimal as there tends to be an
    467466         * extra 2 bytes floating around somewhere */
  • lib/protocols.c

    r85a79b0 re0f9c80  
    282282        void *trans_ptr = 0;
    283283
    284         if ((ipptr->ip_off & SW_IP_OFFMASK) != 0)
    285                 return NULL;
     284        if ((ipptr->ip_off & SW_IP_OFFMASK) != 0) {
     285                return NULL;
     286        }
    286287
    287288        if (remaining) {
Note: See TracChangeset for help on using the changeset viewer.