Ignore:
Timestamp:
06/18/08 11:06:45 (5 years ago)
Author:
spa1
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
  • trunk/lib/protocols_l3.c

    r1355 r1360  
    153153        for(;;) { 
    154154                if (!iphdr || *remaining == 0) 
    155                         return NULL; 
     155                        break; 
    156156                switch(*ethertype) { 
    157157                case 0x8100: /* VLAN */ 
     
    167167                                                iphdr,ethertype,remaining); 
    168168                        } 
     169                        continue; 
     170                case 0x8864: /* PPPoE */ 
     171                        iphdr = trace_get_payload_from_pppoe(iphdr, ethertype, 
     172                                        remaining); 
    169173                        continue; 
    170174                default: 
Note: See TracChangeset for help on using the changeset viewer.