oops, make it compilable. i need sleep. X-(

This commit is contained in:
Hajimu UMEMOTO 2005-07-25 17:28:39 +00:00
parent 2fd290094e
commit 336a1a7b37

View File

@ -428,10 +428,10 @@ in6_setscope(in6, ifp, ret_id)
* interface.
*/
if (IN6_IS_ADDR_LOOPBACK(in6)) {
if (!(ifp->if_flags & IFF_LOOPBACK))
if (!(ifp->if_flags & IFF_LOOPBACK)) {
IF_AFDATA_UNLOCK(ifp);
return (EINVAL);
else {
} else {
if (ret_id != NULL)
*ret_id = 0; /* there's no ambiguity */
IF_AFDATA_UNLOCK(ifp);