diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-11 03:15:37 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-11 03:15:37 +0000 |
commit | dc9bd593149a320bd45ff97fdb845d025d1f490b (patch) | |
tree | e81c3f9b3a126e92f99164ba619ca6a3ac5f0a42 /sys/netinet6/in6_ifattach.c | |
parent | fa38af0572fab40ec124be8a99d172c2939b8e8b (diff) |
KNF - return is not a function. sync w/kame
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index b139260e19f..5319ebcdbb5 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_ifattach.c,v 1.29 2002/06/11 07:36:00 itojun Exp $ */ +/* $OpenBSD: in6_ifattach.c,v 1.30 2002/09/11 03:15:36 itojun Exp $ */ /* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */ /* @@ -351,7 +351,7 @@ in6_ifattach_linklocal(ifp, altifp) if (get_ifid(ifp, altifp, &ifra.ifra_addr.sin6_addr) != 0) { nd6log((LOG_ERR, "%s: no ifid available\n", ifp->if_xname)); - return(-1); + return (-1); } } @@ -391,7 +391,7 @@ in6_ifattach_linklocal(ifp, altifp) "configure a link-local address on %s " "(errno=%d)\n", ifp->if_xname, error)); - return(-1); + return (-1); } /* @@ -446,7 +446,7 @@ in6_ifattach_linklocal(ifp, altifp) */ if (nd6_prefix_lookup(&pr0) == NULL) { if ((error = nd6_prelist_add(&pr0, NULL, NULL)) != 0) - return(error); + return (error); } return 0; @@ -498,7 +498,7 @@ in6_ifattach_loopback(ifp) nd6log((LOG_ERR, "in6_ifattach_loopback: failed to configure " "the loopback address on %s (errno=%d)\n", ifp->if_xname, error)); - return(-1); + return (-1); } return 0; |