summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2008-06-16 03:40:35 +0000
committerDavid Krause <david@cvs.openbsd.org>2008-06-16 03:40:35 +0000
commit6267c389b902fe08bf51670948e6a77916f36efb (patch)
tree38f530cc9afc10e3eb3d8d4b889c073c7506e145 /usr.sbin/tcpdump
parent643a45364eac70777da8c18ea9bcad642ef56339 (diff)
use correct struct when checking DF or INET6, ok frantzen@ months ago
forgotten in one of my trees
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/pfctl_osfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/pfctl_osfp.c b/usr.sbin/tcpdump/pfctl_osfp.c
index 55c665032bc..6037e6f765b 100644
--- a/usr.sbin/tcpdump/pfctl_osfp.c
+++ b/usr.sbin/tcpdump/pfctl_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_osfp.c,v 1.4 2006/12/13 05:10:15 itojun Exp $ */
+/* $OpenBSD: pfctl_osfp.c,v 1.5 2008/06/16 03:40:34 david Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@openbsd.org>
@@ -246,7 +246,7 @@ pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
add_fingerprint(dev, opts, &fp);
- fp.fp_os.fp_enflags |= (PF_OSFP_DF | PF_OSFP_INET6);
+ fp.fp_flags |= (PF_OSFP_DF | PF_OSFP_INET6);
fp.fp_psize += sizeof(struct ip6_hdr) - sizeof(struct ip);
add_fingerprint(dev, opts, &fp);
}