pflogd: Do not access obsolete structure member pcap.tzoff

This change is in preparation for a libpcap update.

See also:	d4d65e7c4c
Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Joseph Mingrone 2023-03-30 13:18:28 -03:00
parent 889b5662ce
commit 0c59e0b4e5
No known key found for this signature in database
GPG Key ID: 36A40C83B0D6EF9E

View File

@ -375,7 +375,7 @@ try_reset_dump(int nomove)
hdr.magic = TCPDUMP_MAGIC;
hdr.version_major = PCAP_VERSION_MAJOR;
hdr.version_minor = PCAP_VERSION_MINOR;
hdr.thiszone = hpcap->tzoff;
hdr.thiszone = 0;
hdr.snaplen = hpcap->snapshot;
hdr.sigfigs = 0;
hdr.linktype = hpcap->linktype;