Changeset 75fc3da


Ignore:
Timestamp:
05/04/05 11:05:21 (17 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:
be40c18
Parents:
b33a242
Message:

In the error message, explain which filter failed!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r8d1956e r75fc3da  
    16971697                // build filter
    16981698                if (pcap_compile( pcap, &bpfprog, filter->filterstring, 1, 0)) {
    1699                         printf("bpf compilation error: %s\n",
    1700                                 pcap_geterr(pcap));
     1699                        printf("bpf compilation error: %s: %s\n",
     1700                                pcap_geterr(pcap),filter->filterstring);
    17011701                        assert(0);
    17021702                }
Note: See TracChangeset for help on using the changeset viewer.