Changeset 5f329ab for lib/format_linux.c


Ignore:
Timestamp:
10/06/10 13:37:07 (11 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:
c259635
Parents:
3038cd2
Message:
  • Don't attempt to write out NONDATA packets, as these cannot be converted into an appropriate DLT, ERF type or similar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r9f1b6ee r5f329ab  
    573573{
    574574        struct sockaddr_ll hdr;
     575
     576        if (trace_get_link_type(packet) == TRACE_TYPE_NONDATA)
     577                return 0;
    575578
    576579        hdr.sll_family = AF_PACKET;
Note: See TracChangeset for help on using the changeset viewer.