From ea60e7c527df4db7a8c0a98c3835fbfe01063e3e Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 29 Dec 2004 10:54:02 +0000 Subject: be quiet about resetting the interface flags omn ruleset load, only print that info on manual flushes. noticed by marc@ --- sbin/pfctl/pfctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index eb4f16b9c30..d8e44de2bb1 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.227 2004/12/28 18:12:14 henning Exp $ */ +/* $OpenBSD: pfctl.c,v 1.228 2004/12/29 10:54:01 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1713,7 +1713,7 @@ main(int argc, char *argv[]) } if ((rulesopt != NULL) && (!*anchorname)) - if (pfctl_clear_interface_flags(dev, opts)) + if (pfctl_clear_interface_flags(dev, opts | PF_OPT_QUIET)) error = 1; if (rulesopt != NULL) -- cgit v1.2.3