Changeset 7f85769


Ignore:
Timestamp:
11/14/06 14:15:18 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
f75fdd2
Parents:
2595c4d
Message:

More warnings squashed

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    r33d83d4 r7f85769  
    324324
    325325        if (!OUTPUT.trace.pcap) {
    326                 OUTPUT.trace.pcap = (pcap_t *)pcap_open_dead(
    327                         (int)libtrace_to_pcap_dlt(trace_get_link_type(packet)),
     326                OUTPUT.trace.pcap = pcap_open_dead(
     327                        libtrace_to_pcap_dlt(trace_get_link_type(packet)),
    328328                        65536);
    329329                if (!OUTPUT.trace.pcap) {
  • lib/linktypes.c

    rcab58c5 r7f85769  
    105105                case TRACE_TYPE_ATM:    return TYPE_ATM;
    106106                case TRACE_TYPE_AAL5:   return TYPE_AAL5;
     107                case TRACE_TYPE_LLCSNAP: return -1;
    107108        }
    108109        return -1;
Note: See TracChangeset for help on using the changeset viewer.