wpcap: Handle negative count for pcap_dispatch and pcap_loop.
According to WinPcap documentation of `pcap_dispatch`
(https://www.winpcap.org/docs/docs_41b5/html/group__wpcapfunc.html#g60ce104cdf28420d3361cd36d15be44c):
> A cnt of -1 processes all the packets received in one buffer when
> reading a live capture, or all the packets in the file when reading a
> ``savefile''
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55487Signed-off-by: Alexis Murzeau <amubtdx@gmail.com>
Showing
Please
register
or
sign in
to comment