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_pcapfile.c

    r4e94095 r5f329ab  
    399399        /* Silently discard RT metadata packets and packets with an
    400400         * unknown linktype. */
    401         if (linktype == TRACE_TYPE_METADATA || linktype == ~0U) {
     401        if (linktype == TRACE_TYPE_NONDATA || linktype == ~0U) {
    402402                return 0;
    403403        }
     
    411411                                TRACE_ERR_NO_CONVERSION,
    412412                                "pcap does not support this format");
     413                        assert(0);
    413414                        return -1;
    414415                }
Note: See TracChangeset for help on using the changeset viewer.