diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-21 12:22:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-21 12:22:27 +0000 |
commit | 207d542b8dba7ba358aa55753f9364c63325b71e (patch) | |
tree | 98dcc4d82d9b2a21c2c4967e89dadf111ae44fdf /sys/netinet/ipsec_output.c | |
parent | ea6860bd08ed6e4afbbda0582813c50d322e867a (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/netinet/ipsec_output.c')
-rw-r--r-- | sys/netinet/ipsec_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipsec_output.c b/sys/netinet/ipsec_output.c index 5467e4dfe56..ca1c1bfa2c6 100644 --- a/sys/netinet/ipsec_output.c +++ b/sys/netinet/ipsec_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsec_output.c,v 1.51 2014/04/21 11:10:54 henning Exp $ */ +/* $OpenBSD: ipsec_output.c,v 1.52 2014/04/21 12:22:26 henning Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -511,7 +511,7 @@ ipsp_process_done(struct mbuf *m, struct tdb *tdb) switch (tdb->tdb_dst.sa.sa_family) { #ifdef INET case AF_INET: - return (ip_output(m, NULL, NULL, IP_RAWOUTPUT, NULL, NULL)); + return (ip_output(m, NULL, NULL, IP_RAWOUTPUT, NULL, NULL, 0)); #endif /* INET */ #ifdef INET6 |