summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-12-08 23:15:45 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-12-08 23:15:45 +0000
commit807eda80b2dfab525c16b5e56563d77edc5b75e6 (patch)
treed94ceb034fe66c477d8f597bdbbd2ff7da5ae36a
parentc6d7af1b95d5cb375f05e72fb3762f9bb586937e (diff)
Add spaces around '='. style(9) fix, no functional changes.
-rw-r--r--sys/net/if_pflow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c
index 0345c7fb966..67e8282b83e 100644
--- a/sys/net/if_pflow.c
+++ b/sys/net/if_pflow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflow.c,v 1.101 2023/12/08 23:13:40 mvs Exp $ */
+/* $OpenBSD: if_pflow.c,v 1.102 2023/12/08 23:15:44 mvs Exp $ */
/*
* Copyright (c) 2011 Florian Obser <florian@narrans.de>
@@ -513,7 +513,7 @@ pflowioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if ((ifp->if_flags & IFF_UP) && sc->so != NULL) {
ifp->if_flags |= IFF_RUNNING;
mtx_enter(&sc->sc_mtx);
- sc->sc_gcounter=pflowstats.pflow_flows;
+ sc->sc_gcounter = pflowstats.pflow_flows;
/* send templates on startup */
if (sc->sc_version == PFLOW_PROTO_10)
pflow_sendout_ipfix_tmpl(sc);
@@ -577,7 +577,7 @@ pflowioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if ((ifp->if_flags & IFF_UP) && sc->so != NULL) {
ifp->if_flags |= IFF_RUNNING;
mtx_enter(&sc->sc_mtx);
- sc->sc_gcounter=pflowstats.pflow_flows;
+ sc->sc_gcounter = pflowstats.pflow_flows;
if (sc->sc_version == PFLOW_PROTO_10)
pflow_sendout_ipfix_tmpl(sc);
mtx_leave(&sc->sc_mtx);