diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-30 16:52:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-06-30 16:52:28 +0000 |
commit | 36027fc20684b9f8853753b6b684e75f30f731a9 (patch) | |
tree | 13f18ca7aed513ab5cba7543c62869e16e72fdde /sbin | |
parent | 27f5afc026dac6b00cbd852f5edeef899a427795 (diff) |
spaces
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 | ||||
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index d3665a787c4..002e6ce4e3d 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.246 2006/05/28 02:45:45 mcbride Exp $ */ +/* $OpenBSD: pfctl.c,v 1.247 2006/06/30 16:52:27 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1002,7 +1002,7 @@ pfctl_add_rule(struct pfctl *pf, struct pf_rule *r, const char *anchor_call) while ((pa = TAILQ_FIRST(&r->rpool.list)) != NULL) { TAILQ_REMOVE(&r->rpool.list, pa, entries); TAILQ_INSERT_TAIL(&pfr->por_rule.rpool.list, pa, - entries); + entries); } } else { memset(&pfr->por_rule.rpool, 0, diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 5bf93e67c2c..40449787f90 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.224 2006/05/23 12:04:28 henning Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.225 2006/06/30 16:52:27 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -485,7 +485,7 @@ print_status(struct pf_status *s, int opts) time_t runtime; int i; char buf[PF_MD5_DIGEST_LENGTH * 2 + 1]; - static const char hex[] = "0123456789abcdef"; + static const char hex[] = "0123456789abcdef"; runtime = time(NULL) - s->since; running = s->running ? "Enabled" : "Disabled"; @@ -1236,7 +1236,7 @@ ifa_grouplookup(const char *ifa_name, int flags) n->tail = hn; } } - free(ifgr.ifgr_groups); + free(ifgr.ifgr_groups); close(s); return (h); |