summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2021-06-02 07:46:23 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2021-06-02 07:46:23 +0000
commit00870ab09e9389b0b86904030aad7ad946aefaa3 (patch)
treeca33bdb35f5f33d6b5b83e18a4ecf9de95f77cd5
parentfb1d75e87a17d5bb2ad93b39386312bb56a2a485 (diff)
whitespace tweaks, no functional change.
-rw-r--r--sys/net/pf_ioctl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index ae7bb008351..2335fb04679 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.363 2021/02/09 23:37:54 patrick Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.364 2021/06/02 07:46:22 dlg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -692,10 +692,10 @@ pf_commit_queues(void)
struct pf_queuehead *qswap;
int error;
- /* swap */
- qswap = pf_queues_active;
- pf_queues_active = pf_queues_inactive;
- pf_queues_inactive = qswap;
+ /* swap */
+ qswap = pf_queues_active;
+ pf_queues_active = pf_queues_inactive;
+ pf_queues_inactive = qswap;
error = pf_create_queues();
if (error != 0) {
@@ -704,7 +704,7 @@ pf_commit_queues(void)
return (error);
}
- pf_free_queues(pf_queues_inactive);
+ pf_free_queues(pf_queues_inactive);
return (0);
}
@@ -1584,7 +1584,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
u_int16_t srcport, dstport;
struct pfioc_state_kill *psk = (struct pfioc_state_kill *)addr;
u_int i, killed = 0;
- const int dirs[] = { PF_IN, PF_OUT };
+ const int dirs[] = { PF_IN, PF_OUT };
int sidx, didx;
if (psk->psk_pfcmp.id) {