wording in comment.
is contradict -> "is contradictory", or "contradicts".
This commit is contained in:
parent
2f85e9e153
commit
e6dbed9659
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: in6.c,v 1.43 2001/02/11 06:49:52 itojun Exp $ */
|
||||
/* $NetBSD: in6.c,v 1.44 2001/02/16 15:13:40 itojun Exp $ */
|
||||
/* $KAME: in6.c,v 1.175 2001/02/10 15:44:58 jinmei Exp $ */
|
||||
|
||||
/*
|
||||
@ -404,7 +404,7 @@ in6_control(so, cmd, data, ifp, p)
|
||||
htons(ifp->if_index);
|
||||
} else if (sa6->sin6_addr.s6_addr16[1] !=
|
||||
htons(ifp->if_index)) {
|
||||
return(EINVAL); /* ifid is contradict */
|
||||
return(EINVAL); /* ifid contradicts */
|
||||
}
|
||||
if (sa6->sin6_scope_id) {
|
||||
if (sa6->sin6_scope_id !=
|
||||
@ -597,7 +597,7 @@ in6_control(so, cmd, data, ifp, p)
|
||||
} else if (ia->ia_dstaddr.sin6_addr.s6_addr16[1] !=
|
||||
htons(ifp->if_index)) {
|
||||
ia->ia_dstaddr = oldaddr;
|
||||
return(EINVAL); /* ifid is contradict */
|
||||
return(EINVAL); /* ifid contradicts */
|
||||
}
|
||||
}
|
||||
|
||||
@ -741,7 +741,7 @@ in6_control(so, cmd, data, ifp, p)
|
||||
} else if (ia->ia_dstaddr.sin6_addr.s6_addr16[1] !=
|
||||
htons(ifp->if_index)) {
|
||||
ia->ia_dstaddr = oldaddr;
|
||||
return(EINVAL); /* ifid is contradict */
|
||||
return(EINVAL); /* ifid contradicts */
|
||||
}
|
||||
}
|
||||
prefixIsNew = 1; /* We lie; but effect's the same */
|
||||
|
Loading…
Reference in New Issue
Block a user