From 6267c389b902fe08bf51670948e6a77916f36efb Mon Sep 17 00:00:00 2001 From: David Krause Date: Mon, 16 Jun 2008 03:40:35 +0000 Subject: use correct struct when checking DF or INET6, ok frantzen@ months ago forgotten in one of my trees --- usr.sbin/tcpdump/pfctl_osfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/tcpdump') 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 @@ -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); } -- cgit v1.2.3