diff options
author | ume <ume@FreeBSD.org> | 2003-10-09 16:13:47 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-09 16:13:47 +0000 |
commit | 5f396e4dfe6c93d5138b6ae4de30346c6fca5ee0 (patch) | |
tree | 6fe80a7dbe0ebdd4d2d753990f218148d8cf5584 /sys/netinet6/scope6.c | |
parent | a3420d01fe8e4bcab9a2a2c054954402d6b8daba (diff) | |
download | FreeBSD-src-5f396e4dfe6c93d5138b6ae4de30346c6fca5ee0.zip FreeBSD-src-5f396e4dfe6c93d5138b6ae4de30346c6fca5ee0.tar.gz |
- typo in comment
- style
- ANSIfy
(there is no functional change.)
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/scope6.c')
-rw-r--r-- | sys/netinet6/scope6.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c index d38ac44..1e6c135 100644 --- a/sys/netinet6/scope6.c +++ b/sys/netinet6/scope6.c @@ -4,7 +4,7 @@ /* * Copyright (C) 2000 WIDE Project. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -16,7 +16,7 @@ * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -125,7 +125,7 @@ scope6_set(ifp, idlist) /* * TODO(XXX): after setting, we should reflect the changes to - * interface addresses, routing table entries, PCB entries... + * interface addresses, routing table entries, PCB entries... */ s = splnet(); @@ -178,7 +178,7 @@ scope6_get(ifp, idlist) */ int in6_addrscope(addr) -struct in6_addr *addr; + struct in6_addr *addr; { int scope; @@ -277,9 +277,9 @@ scope6_setdefault(ifp) if (ifp) { scope6_ids[0].s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; - } - else + } else { scope6_ids[0].s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = 0; + } } int |