diff options
author | Guy Harris <gharris@sonic.net> | 2020-07-03 03:02:05 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-07-03 03:02:05 -0700 |
commit | 141253c471119db0761d73c2fc095b82a2017eb3 (patch) | |
tree | bf584b4d217b6fc43287b4d4c5a9e65a76fc67ad /pcap-npf.c | |
parent | 648dfd0b91307d3bd05b92a8b379103f07bc5176 (diff) | |
download | libpcap-141253c471119db0761d73c2fc095b82a2017eb3.tar.gz |
Add support for setting the snapshot length and not setting the filter.
Add a -s option to set the snapshot length; don't set it, even to a
default value, if -s isn't specified.
If there are no arguments specifying a filter, don't compile or install
a filter.
This allows us to test 1) whether the snapshot length works even if no
filter is set and 2) what happens if the snapshot length isn't set.
Diffstat (limited to 'pcap-npf.c')
0 files changed, 0 insertions, 0 deletions