diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-07-11 14:14:15 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-07-11 14:14:15 +0000 |
commit | f006da6a6b38c5a8cfad297d9857a54a4dc9e5d8 (patch) | |
tree | 11766f290058d000656ff658f664fc7a0029a5c4 | |
parent | 2dcbb773053bd3117476de70b5a9dd09ad4cb213 (diff) |
add missing {} around TAILQ_FOREACH block, found by David Hill
-rw-r--r-- | sys/net/pf_ioctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index 5778dddf3cd..2a76384e822 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.145 2005/06/30 20:52:20 sturm Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.146 2005/07/11 14:14:14 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1998,10 +1998,11 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) struct pf_rule *rule; TAILQ_FOREACH(rule, - ruleset->rules[PF_RULESET_FILTER].active.ptr, entries) + ruleset->rules[PF_RULESET_FILTER].active.ptr, entries) { rule->evaluations = 0; rule->packets[0] = rule->packets[1] = 0; rule->bytes[0] = rule->bytes[1] = 0; + } break; } |