diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-01 17:20:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-01 17:20:15 +0000 |
commit | a5566e6a78e899806216755ba4525db84a2dee4d (patch) | |
tree | cc07673a243b96e1a7261c5e61960754d508902d | |
parent | 03cdd9a4388cb8cffa2b4c3a155a66329aef679f (diff) |
KNF
-rw-r--r-- | sbin/pfctl/pfctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 05172a98dcb..5615aa50575 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.116 2003/01/01 04:26:19 dhartmei Exp $ */ +/* $OpenBSD: pfctl.c,v 1.117 2003/01/01 17:20:14 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -963,10 +963,10 @@ pfctl_rules(int dev, char *filename, int opts) } if ((loadopt & (PFCTL_FLAG_FILTER | PFCTL_FLAG_ALL)) != 0) { pr[PF_RULESET_SCRUB].rule.action = PF_SCRUB; - if (ioctl(dev, DIOCBEGINRULES, &pr[PF_RULESET_SCRUB])) + if (ioctl(dev, DIOCBEGINRULES, &pr[PF_RULESET_SCRUB])) err(1, "DIOCBEGINRULES"); pr[PF_RULESET_FILTER].rule.action = PF_PASS; - if (ioctl(dev, DIOCBEGINRULES, &pr[PF_RULESET_FILTER])) + if (ioctl(dev, DIOCBEGINRULES, &pr[PF_RULESET_FILTER])) err(1, "DIOCBEGINRULES"); } |