diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-12-29 10:54:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-12-29 10:54:02 +0000 |
commit | ea60e7c527df4db7a8c0a98c3835fbfe01063e3e (patch) | |
tree | e4fca42868445c35fbb28ce3c26d5df3e80455f7 /sbin/pfctl/pfctl.c | |
parent | 2455f2dd621bbb29a8c069dc5a7ff19106af44f0 (diff) |
be quiet about resetting the interface flags omn ruleset load, only
print that info on manual flushes. noticed by marc@
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 |
1 files 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) |