diff options
author | claudio <claudio@openbsd.org> | 2015-09-11 07:42:35 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2015-09-11 07:42:35 +0000 |
commit | 2305623bc0ac5e1a4c0818c87cd12528b52bc15c (patch) | |
tree | c4053288eee736b13aecaee562641c791df664a8 /sys/netinet6/in6.h | |
parent | Ignore the 'rotation lock' button on my Yoga12 (diff) | |
download | wireguard-openbsd-2305623bc0ac5e1a4c0818c87cd12528b52bc15c.tar.xz wireguard-openbsd-2305623bc0ac5e1a4c0818c87cd12528b52bc15c.zip |
in6_embedscope() needs to lose some weight. Remove the last argument.
In all but two calls NULL is passed and in the other 2 cases the ifp
is only used to maybe feed it to in6_selecthlim() to select the hoplimit
for the link. Since in6_embedscope() only works on link-local addresses
it does not matter what hop limit we select since the destination is
directly reachable.
OK florian@ mpi@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r-- | sys/netinet6/in6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index 73be3994fda..452d17d55f2 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.h,v 1.84 2015/09/10 17:52:05 claudio Exp $ */ +/* $OpenBSD: in6.h,v 1.85 2015/09/11 07:42:35 claudio Exp $ */ /* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */ /* @@ -436,7 +436,7 @@ int in6_mask2len(struct in6_addr *, u_char *); struct inpcb; int in6_embedscope(struct in6_addr *, const struct sockaddr_in6 *, - struct inpcb *, struct ifnet **); + struct inpcb *); void in6_recoverscope(struct sockaddr_in6 *, const struct in6_addr *); void in6_clearscope(struct in6_addr *); |