diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-08-23 14:10:34 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-08-23 14:10:34 +0000 |
commit | 4976efe564dfd17dd878bc21c0ae548a3cf9c02e (patch) | |
tree | 9ba1233ec7c8aa8710921d7c4eba7e8447922556 | |
parent | 6c421d222bf519d740b81f7a821e75384d78c1e2 (diff) |
suppress printf() on non-multicast interface.
suppress ipv6 initialization for IFT_PFLOG.
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index a3313c39215..7427219bbb3 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_ifattach.c,v 1.19 2001/08/23 02:42:25 itojun Exp $ */ +/* $OpenBSD: in6_ifattach.c,v 1.20 2001/08/23 14:10:33 itojun Exp $ */ /* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */ /* @@ -641,8 +641,10 @@ in6_ifattach(ifp, altifp) #ifdef IFT_STF case IFT_STF: /* - * 6to4 interface is a very speical kind of beast. - * no multicast, no linklocal (based on 03 draft). + * 6to4 interface is a very special kind of beast. + * no multicast, no linklocal. RFC2529 specifies how to make + * linklocals for 6to4 interface, but there's no use and + * it is rather harmful to have one. */ goto statinit; #endif @@ -654,7 +656,8 @@ in6_ifattach(ifp, altifp) * usually, we require multicast capability to the interface */ if ((ifp->if_flags & IFF_MULTICAST) == 0) { - printf("%s: not multicast capable, IPv6 not enabled\n", + log(LOG_INFO, "in6_ifattach: " + "%s is not multicast capable, IPv6 not enabled\n", ifp->if_xname); return; } |