summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.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_output.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_output.c')
-rw-r--r--sys/netinet/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index d18c22776cb..21eb847ffdb 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_output.c,v 1.105 2014/04/14 09:06:42 mpi Exp $ */
+/* $OpenBSD: tcp_output.c,v 1.106 2014/04/21 12:22:26 henning Exp $ */
/* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */
/*
@@ -1076,7 +1076,7 @@ send:
}
error = ip_output(m, tp->t_inpcb->inp_options,
&tp->t_inpcb->inp_route,
- (ip_mtudisc ? IP_MTUDISC : 0), NULL, tp->t_inpcb);
+ (ip_mtudisc ? IP_MTUDISC : 0), NULL, tp->t_inpcb, 0);
break;
#endif /* INET */
#ifdef INET6