diff options
author | Guy Harris <gharris@sonic.net> | 2021-11-03 10:24:06 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-11-03 10:24:06 -0700 |
commit | 2aaaef7d3a802d4379d7e994d16ac428e5faefe5 (patch) | |
tree | 11d8dfcee4ae02648024d88eb43c109936639c94 /pcap-npf.c | |
parent | 4a8640f5d27e0df51ca95177de7909fac4258990 (diff) | |
download | libpcap-2aaaef7d3a802d4379d7e994d16ac428e5faefe5.tar.gz |
Fix comments.
On success, pcap_offline_read() and the read_op routine return a value >
0 that is the number of packets read or captured, respectively. Given
that, in the calls to them in pcap_next_ex(), we pass a maximum packet
count of 1, they will read or capture, respectively, at most one packet,
so, in those particular calls, they will return 1 on success.
Diffstat (limited to 'pcap-npf.c')
0 files changed, 0 insertions, 0 deletions