aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2023-03-30 16:18:28 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2023-03-30 18:58:45 +0000
commit0c59e0b4e5817f139ce28486085b2f196351c7a3 (patch)
tree9f7486552da4d5ada33be5b6368b0235a1e6cdf2
parent889b5662ce06ad01f87f1e501dc56c7bc50bbf9b (diff)
downloadsrc-0c59e0b4e5817f139ce28486085b2f196351c7a3.tar.gz
src-0c59e0b4e5817f139ce28486085b2f196351c7a3.zip
pflogd: Do not access obsolete structure member pcap.tzoff
This change is in preparation for a libpcap update. See also: https://github.com/the-tcpdump-group/libpcap/commit/d4d65e7c4c0a6233784b346dcb0ebb7e23a3feaa Reviewed by: emaste Sponsored by: The FreeBSD Foundation
-rw-r--r--contrib/pf/pflogd/pflogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pf/pflogd/pflogd.c b/contrib/pf/pflogd/pflogd.c
index de8d4acfa585..2b1b0df769a7 100644
--- a/contrib/pf/pflogd/pflogd.c
+++ b/contrib/pf/pflogd/pflogd.c
@@ -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;