Changeset f00c146 for lib/format_bpf.c


Ignore:
Timestamp:
11/30/12 16:24:15 (8 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:
e1f3b6b
Parents:
2627439
Message:
  • Fix build errors with format_bpf.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_bpf.c

    r2627439 rf00c146  
    384384        uint32_t flags = 0;
    385385
    386         packet->type = bpf_linktype_to_rt(swapl(libtrace,
    387                         FORMATIN(libtrace)->linktype));
     386        packet->type = bpf_linktype_to_rt(ntohs(FORMATIN(libtrace)->linktype));
    388387       
    389388        /* Read from the BPF interface into our capture buffer */
Note: See TracChangeset for help on using the changeset viewer.