Date: Wed, 17 Dec 2008 10:19:54 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186216 - head/sys/netinet6 Message-ID: <200812171019.mBHAJsFo001304@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: qingli Date: Wed Dec 17 10:19:53 2008 New Revision: 186216 URL: http://svn.freebsd.org/changeset/base/186216 Log: A couple of files were not meant to be committed. Modified: head/sys/netinet6/in6.c head/sys/netinet6/nd6_rtr.c Modified: head/sys/netinet6/in6.c ============================================================================== --- head/sys/netinet6/in6.c Wed Dec 17 10:03:49 2008 (r186215) +++ head/sys/netinet6/in6.c Wed Dec 17 10:19:53 2008 (r186216) @@ -987,13 +987,6 @@ in6_update_ifa(struct ifnet *ifp, struct } } if (!rt) { - - printf("in6_update_ifa #1: addr= %s, mask= %s, ia= %s, ifp = %s\n", - ip6_sprintf(ip6buf, &mltaddr.sin6_addr), - ip6_sprintf(ip6buf, &mltmask.sin6_addr), - ip6_sprintf(ip6buf, &ia->ia_addr.sin6_addr), - if_name(ifp)); - error = rtrequest(RTM_ADD, (struct sockaddr *)&mltaddr, (struct sockaddr *)&ia->ia_addr, (struct sockaddr *)&mltmask, RTF_UP, @@ -1068,12 +1061,6 @@ in6_update_ifa(struct ifnet *ifp, struct } } if (!rt) { - printf("in6_update_ifa #2: addr= %s, mask= %s, ia= %s, ifp = %s\n", - ip6_sprintf(ip6buf, &mltaddr.sin6_addr), - ip6_sprintf(ip6buf, &mltmask.sin6_addr), - ip6_sprintf(ip6buf, &ia->ia_addr.sin6_addr), - if_name(ifp)); - error = rtrequest(RTM_ADD, (struct sockaddr *)&mltaddr, (struct sockaddr *)&ia->ia_addr, (struct sockaddr *)&mltmask, RTF_UP, Modified: head/sys/netinet6/nd6_rtr.c ============================================================================== --- head/sys/netinet6/nd6_rtr.c Wed Dec 17 10:03:49 2008 (r186215) +++ head/sys/netinet6/nd6_rtr.c Wed Dec 17 10:19:53 2008 (r186216) @@ -1555,11 +1555,6 @@ nd6_prefix_onlink(struct nd_prefix *pr) struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK}; - log(LOG_DEBUG, "##1 nd6_prefix_onlink: %s, vltime = %x, pltime = %x\n", - ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), - pr->ndpr_vltime, pr->ndpr_pltime); - - /* sanity check */ if ((pr->ndpr_stateflags & NDPRF_ONLINK) != 0) { nd6log((LOG_ERR, @@ -1629,11 +1624,6 @@ nd6_prefix_onlink(struct nd_prefix *pr) error = rtrequest(RTM_ADD, (struct sockaddr *)&pr->ndpr_prefix, ifa->ifa_addr, (struct sockaddr *)&mask6, rtflags, &rt); - log(LOG_DEBUG, "##2 nd6_prefix_onlink: %s, vltime = %x, pltime = %x\n", - ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), - pr->ndpr_vltime, pr->ndpr_pltime); - - if (error == 0) { if (rt != NULL) /* this should be non NULL, though */ { rnh = V_rt_tables[rt->rt_fibnum][AF_INET6];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812171019.mBHAJsFo001304>