Natanael Copa 25948a450e main/ngrep: fix segfault on invalid filters and add -dbg
A comment in configure.in says:

> dnl For libpcap's that don't need the restart function called for
> dnl multiple lexer passes, allow them to turn it off here.  This option
> dnl exists solely to address a very rude email from the maintainer
> dnl indicating that it shouldn't be called directly (and of course he
> dnl was wrong because this is still needed).

This indicates that you should not really call pcap_restart() directly,
so we use this --disable-pcap-restart.

This fixes segfault when the filter is invalid.

ref #4466
2015-07-24 08:55:08 +00:00
..