A couple of files were not meant to be committed.
This commit is contained in:
parent
bbd8aebaba
commit
f16e1269b4
@ -987,13 +987,6 @@ in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra,
|
||||
}
|
||||
}
|
||||
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 in6_aliasreq *ifra,
|
||||
}
|
||||
}
|
||||
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,
|
||||
|
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user