]> The Tcpdump Group git mirrors - libpcap/commit
Clean up per-packet output a bit; don't output a blank line if no
authorGuy Harris <[email protected]>
Sun, 26 Jul 2009 22:44:31 +0000 (15:44 -0700)
committerGuy Harris <[email protected]>
Sun, 26 Jul 2009 22:44:31 +0000 (15:44 -0700)
commitc3c51e58e50539bbfd84d3492472566f44cf4bce
tree36372fbdfee749a67404f1d2020ca6206a4899f5
parent559ebc322fd145d1566131970be62d76e0466687
Clean up per-packet output a bit; don't output a blank line if no
packets were seen, but do put the "."s on a separate line - which should
all come out in a burst, so don't fflush() after each one, let the
newline at the end do that.

Report POLLNVAL for poll().

When not using select() or poll(), loop forever doing pcap_dispatch(),
rather than just using pcap_loop(), so you see what happens for each
delivered batch of packets.
selpolltest.c