diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-30 18:49:37 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-30 18:49:37 -0800 |
commit | 817aadf8bb2f67efced4c26f7335db0f64d67783 (patch) | |
tree | 37c5909b85dc5cebc71acf6dafda32f594f5cb16 /config.h.in | |
parent | 3dbcc57b6adf21628b8da07b8782d1d7c7bf0bfc (diff) | |
download | tcpdump-817aadf8bb2f67efced4c26f7335db0f64d67783.tar.gz |
Use the new debugging routines in libpcap.
Newer versions of libpcap, when configured to provide debugging
printouts for the filter expression parser or optimizer, provide
routines to set the "debug the parser" and "debug the optimizer" flags;
use them if the library has them. If the library doesn't have them, do
our best to try to use the older mechanisms for requesting debugging, if
present.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index e45a2de8..6f6bb11a 100644 --- a/config.h.in +++ b/config.h.in @@ -142,6 +142,12 @@ /* Define to 1 if you have the `pcap_set_immediate_mode' function. */ #undef HAVE_PCAP_SET_IMMEDIATE_MODE +/* Define to 1 if you have the `pcap_set_optimizer_debug' function. */ +#undef HAVE_PCAP_SET_OPTIMIZER_DEBUG + +/* Define to 1 if you have the `pcap_set_parser_debug' function. */ +#undef HAVE_PCAP_SET_PARSER_DEBUG + /* Define to 1 if you have the `pcap_set_tstamp_precision' function. */ #undef HAVE_PCAP_SET_TSTAMP_PRECISION |