summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-01-01 17:00:58 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-01-01 17:00:58 +0000
commit99e1cfbb727f49d73ecf43495c86f735f1928e9f (patch)
treec1b031d2ea0154de48cab7564d728067a03f4235 /sys
parent01ec4e6325a719c962b1f87e3b70ca4e888ac6cd (diff)
Fix white space in pf.c.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index c859a1467ec..c82b5e1ab4e 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.1190 2023/12/28 16:21:08 aisha Exp $ */
+/* $OpenBSD: pf.c,v 1.1191 2024/01/01 17:00:57 bluhm Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1605,11 +1605,11 @@ pf_purge_states_tick(void *null)
timeout_add_sec(&pf_purge_states_to, 1);
return;
}
-
+
/*
* process a fraction of the state table every second
*/
-
+
if (interval > 1)
limit /= interval;
@@ -1662,12 +1662,12 @@ pf_purge(void *null)
pf_purge_expired_src_nodes();
PF_UNLOCK();
-
+
/*
* Fragments don't require PF_LOCK(), they use their own lock.
*/
pf_purge_expired_fragments();
-
+
/* interpret the interval as idle time between runs */
timeout_add_sec(&pf_purge_to, interval);
}
@@ -4285,8 +4285,8 @@ enter_ruleset:
if (r->anchor_wildcard) {
RB_FOREACH(child, pf_anchor_node,
&r->anchor->children) {
- if (pf_anchor_stack_push(ruleset, r, child,
- PF_NEXT_CHILD) != 0)
+ if (pf_anchor_stack_push(ruleset, r,
+ child, PF_NEXT_CHILD) != 0)
return (PF_TEST_FAIL);
ruleset = &child->ruleset;