summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2014-04-21 12:22:25 +0000
committerhenning <henning@openbsd.org>2014-04-21 12:22:25 +0000
commit4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120 (patch)
tree03fb1649b2abe2937552467f54d214f9d8733ad4 /sys/netinet/tcp_input.c
parentFix off-by-one error in PG_LGFRAME mask (diff)
downloadwireguard-openbsd-4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120.tar.xz
wireguard-openbsd-4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120.zip
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/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 23208bfa025..14fc254a3d6 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.274 2014/04/21 11:10:54 henning Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.275 2014/04/21 12:22:26 henning Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -4414,7 +4414,7 @@ syn_cache_respond(struct syn_cache *sc, struct mbuf *m)
#ifdef INET
case AF_INET:
error = ip_output(m, sc->sc_ipopts, ro,
- (ip_mtudisc ? IP_MTUDISC : 0), NULL, inp);
+ (ip_mtudisc ? IP_MTUDISC : 0), NULL, inp, 0);
break;
#endif
#ifdef INET6