summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2005-07-11 14:16:10 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2005-07-11 14:16:10 +0000
commit0d9672554500c375b104b67c7519529649740e46 (patch)
tree79bff6f1b29648b1bf73b021366bdad3029b071a /sbin/pfctl/pfctl.c
parentf006da6a6b38c5a8cfad297d9857a54a4dc9e5d8 (diff)
clear PFI_IFLAG_SKIP when clearing interface flags, found by David Hill,
ok henning@
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r--sbin/pfctl/pfctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 155c67bf9de..8bb62dab420 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.242 2005/06/13 20:17:25 henning Exp $ */
+/* $OpenBSD: pfctl.c,v 1.243 2005/07/11 14:16:09 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -271,6 +271,7 @@ pfctl_clear_interface_flags(int dev, int opts)
if ((opts & PF_OPT_NOACTION) == 0) {
bzero(&pi, sizeof(pi));
+ pi.pfiio_flags = PFI_IFLAG_SKIP;
if (ioctl(dev, DIOCCLRIFFLAG, &pi))
err(1, "DIOCCLRIFFLAG");