Changeset 11c0f44 for libpacketdump


Ignore:
Timestamp:
06/18/08 11:06:45 (13 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:
41c254d
Parents:
c5f3398
Message:
  • Added support for skipping past PPPoE headers when calling trace_get_layer3
  • Fixed byte order issues in the libpacketdump PPPoE decoder
  • Fixed PPP header definition to match the RFC definition
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/eth_34916.c

    r11a7f9c r11c0f44  
    2727        printf(" PPPoE: Type: %d\n",pppoe->type);
    2828        printf(" PPPoE: Code: %d\n",pppoe->code);
    29         printf(" PPPoE: Session: %d\n",pppoe->session);
    30         printf(" PPPoE: Length: %d\n",pppoe->length);
     29        printf(" PPPoE: Session: %d\n",ntohs(pppoe->session));
     30        printf(" PPPoE: Length: %d\n",ntohs(pppoe->length));
    3131
    3232        /* Meh.. pass it off to eth decoder */
Note: See TracChangeset for help on using the changeset viewer.