diff options
| author | 2014-04-21 12:22:25 +0000 | |
|---|---|---|
| committer | 2014-04-21 12:22:25 +0000 | |
| commit | 4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120 (patch) | |
| tree | 03fb1649b2abe2937552467f54d214f9d8733ad4 /sys/netinet/tcp_subr.c | |
| parent | Fix off-by-one error in PG_LGFRAME mask (diff) | |
| download | wireguard-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_subr.c')
| -rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index aff8b95df8f..e0e4773b69a 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.128 2014/04/21 11:10:54 henning Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.129 2014/04/21 12:22:26 henning Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -421,7 +421,7 @@ tcp_respond(struct tcpcb *tp, caddr_t template, struct tcphdr *th0, ip->ip_ttl = ip_defttl; ip->ip_tos = 0; ip_output(m, NULL, ro, ip_mtudisc ? IP_MTUDISC : 0, - NULL, tp ? tp->t_inpcb : NULL); + NULL, tp ? tp->t_inpcb : NULL, 0); } } |
