summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-04-21 12:22:27 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-04-21 12:22:27 +0000
commit207d542b8dba7ba358aa55753f9364c63325b71e (patch)
tree98dcc4d82d9b2a21c2c4967e89dadf111ae44fdf /sys/net/if_pflow.c
parentea6860bd08ed6e4afbbda0582813c50d322e867a (diff)
ip_output() using varargs always struck me as bizarre, esp since it's only
ever used to pass on uint32 (for ipsec). stop that madness and just pass the uint32, 0 in all cases but the two that pass the ipsec flowinfo. ok deraadt reyk guenther
Diffstat (limited to 'sys/net/if_pflow.c')
-rw-r--r--sys/net/if_pflow.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c
index d761869f391..393316aeda6 100644
--- a/sys/net/if_pflow.c
+++ b/sys/net/if_pflow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflow.c,v 1.42 2014/04/14 09:06:42 mpi Exp $ */
+/* $OpenBSD: if_pflow.c,v 1.43 2014/04/21 12:22:25 henning Exp $ */
/*
* Copyright (c) 2011 Florian Obser <florian@narrans.de>
@@ -1124,7 +1124,8 @@ pflow_sendout_mbuf(struct pflow_softc *sc, struct mbuf *m)
sc->sc_if.if_opackets++;
sc->sc_if.if_obytes += m->m_pkthdr.len;
- if ((err = ip_output(m, NULL, NULL, IP_RAWOUTPUT, &sc->sc_imo, NULL))) {
+ if ((err = ip_output(m, NULL, NULL, IP_RAWOUTPUT, &sc->sc_imo, NULL,
+ 0))) {
pflowstats.pflow_oerrors++;
sc->sc_if.if_oerrors++;
}