Changeset 978


Ignore:
Timestamp:
09/08/06 16:44:06 (7 years ago)
Author:
spa1
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:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_wag.c

    r952 r978  
    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 */ 
  • trunk/lib/protocols.c

    r952 r978  
    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) { 
  • trunk/libpacketdump/parser/Makefile.am

    r972 r978  
    44noinst_LIBRARIES = libparser.a 
    55libparser_a_SOURCES = lexer.l parser.y bitbuffer.c bitbuffer.h grammar.h 
    6 libparser_a_LIBADD = @ADD_LIBS@  
     6#libparser_a_LIBADD = @ADD_LIBS@  
    77INCLUDES = @ADD_INCLS@ -I../ -I../../lib 
    88 
Note: See TracChangeset for help on using the changeset viewer.