Changeset fd87898 for lib


Ignore:
Timestamp:
12/04/12 11:52:15 (9 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:
528eb6e
Parents:
244426f
Message:
  • Fixed incorrect condition for checking if the RT type was BPF
  • Don't set "Unknown Option" in format_bpf if the option is in fact unsupported - wdcap relies on the error being unsupported in the case of META_FREQ
Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_bpf.c

    re1f3b6b rfd87898  
    337337                 */
    338338        }
    339         trace_set_err(libtrace,TRACE_ERR_UNKNOWN_OPTION,
    340                         "Unknown option %i", option);
    341339        return -1;
    342340}
  • lib/format_rt.c

    r244426f rfd87898  
    408408
    409409        if (packet->type > TRACE_RT_DATA_BPF &&
    410                         packet->type < TRACE_RT_DATA_DLT_END) {
     410                        packet->type < TRACE_RT_DATA_BPF_END) {
    411411
    412412                if (!RT_INFO->dummy_bpf) {
Note: See TracChangeset for help on using the changeset viewer.