diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-09-10 17:52:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-09-10 17:52:06 +0000 |
commit | 950254d909152efb61b61dec32ad79a3f0d2e200 (patch) | |
tree | c80bc28d1c1f2e99cca53d1b7c864a44c849e6cc /sys/netinet6/in6_pcb.c | |
parent | ebc7ce9e5c64c6d8611ada6e67026a561d0b15f0 (diff) |
It is time to put inet6 on a diet. Use the flensing knife and cut out
the 3rd argument of in6_recoverscope() and make it return void.
OK dlg@ mikeb@
Diffstat (limited to 'sys/netinet6/in6_pcb.c')
-rw-r--r-- | sys/netinet6/in6_pcb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 8f47205ec36..cb8acc98634 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_pcb.c,v 1.70 2015/08/22 20:18:50 deraadt Exp $ */ +/* $OpenBSD: in6_pcb.c,v 1.71 2015/09/10 17:52:05 claudio Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -621,7 +621,7 @@ in6_setsockaddr(struct inpcb *inp, struct mbuf *nam) sin6->sin6_port = inp->inp_lport; sin6->sin6_addr = inp->inp_laddr6; /* KAME hack: recover scopeid */ - (void)in6_recoverscope(sin6, &inp->inp_laddr6, NULL); + in6_recoverscope(sin6, &inp->inp_laddr6); return 0; } @@ -644,7 +644,7 @@ in6_setpeeraddr(struct inpcb *inp, struct mbuf *nam) sin6->sin6_port = inp->inp_fport; sin6->sin6_addr = inp->inp_faddr6; /* KAME hack: recover scopeid */ - (void)in6_recoverscope(sin6, &inp->inp_faddr6, NULL); + in6_recoverscope(sin6, &inp->inp_faddr6); return 0; } |