summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-07-25 17:28:39 +0000
committerume <ume@FreeBSD.org>2005-07-25 17:28:39 +0000
commit7d261b1b3845c5a1b9cc05b5d638c71de80e0bd8 (patch)
treebea3b0546a7b3254d630d59593c5c0215c764e57 /sys/netinet6
parent951c90fccb723b401bf017431dab92e0184115be (diff)
downloadFreeBSD-src-7d261b1b3845c5a1b9cc05b5d638c71de80e0bd8.zip
FreeBSD-src-7d261b1b3845c5a1b9cc05b5d638c71de80e0bd8.tar.gz
oops, make it compilable. i need sleep. X-(
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/scope6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c
index 67ebd6f..0594f905 100644
--- a/sys/netinet6/scope6.c
+++ b/sys/netinet6/scope6.c
@@ -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);
OpenPOWER on IntegriCloud