Fix r281649: don't call in6_clearscope() twice.
Submitted by: ae
This commit is contained in:
parent
1e22afc1d0
commit
37c56fd2f8
@ -1696,7 +1696,7 @@ in6_ifhasaddr(struct ifnet *ifp, struct in6_addr *addr)
|
||||
struct in6_ifaddr *ia6;
|
||||
|
||||
in6 = *addr;
|
||||
if (in6_clearscope(&in6) || in6_clearscope(&in6))
|
||||
if (in6_clearscope(&in6))
|
||||
return (0);
|
||||
in6_setscope(&in6, ifp, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user