]> The Tcpdump Group git mirrors - libpcap/commit
Error if driver reports 0 timestamp modes supported
authorDaniel Miller <[email protected]>
Fri, 12 Nov 2021 22:52:32 +0000 (16:52 -0600)
committerGuy Harris <[email protected]>
Sat, 13 Nov 2021 03:11:43 +0000 (19:11 -0800)
commit866c8b6491a77cd405b09a3eec40b298c4c17907
treede52d2379b07d03b51c3343dbc5745d587b5eb72
parent711fa7fc11ccf4a54415827f67369fec9d32996a
Error if driver reports 0 timestamp modes supported

Additionally, simplify logic by using num_ts_modes directly, since VS
Code Analysis thought there was a read/write overrun otherwise.

(cherry picked from commit 9ddc784af1190350397f4d7c67f29ae86243e49a)
pcap-npf.c