char ipbuf[INET6_ADDRSTRLEN];
inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf));
- syslog(LOG_NOTICE, "Pinging for %s on %s", ipbuf, iface->name);
+ syslog(LOG_DEBUG, "Pinging for %s on %s", ipbuf, iface->name);
netlink_setup_route(addr, 128, iface->ifindex, NULL, 128, true);
odhcpd_send(iface->ndp_ping_fd, &dest, &iov, 1, iface);
memset(pbuf, 0, sizeof(pbuf));
adv->nd_na_hdr = (struct icmp6_hdr) {
.icmp6_type = ND_NEIGHBOR_ADVERT,
- .icmp6_dataun.icmp6_un_data32 = { 0x40000000L }
+ .icmp6_dataun.icmp6_un_data32 = { ND_NA_FLAG_SOLICITED }
};
adv->nd_na_target = *for_addr;
*opt = (struct nd_opt_hdr) { .nd_opt_type = ND_OPT_TARGET_LINKADDR, .nd_opt_len = 1 };
char ipbuf[INET6_ADDRSTRLEN];
inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf));
- syslog(LOG_NOTICE, "%s about %s%s on %s",
+ syslog(LOG_DEBUG, "%s about %s%s on %s",
(add) ? "Learning" : "Forgetting",
iface->learn_routes ? "proxy routing for " : "",
ipbuf, iface->name);