{
struct dhcp6_state *state;
const struct dhcp6_option *o;
- const uint8_t *p;
- struct in6_addr in6;
struct ipv6_addr *a;
char iabuf[INET6_ADDRSTRLEN];
const char *ia;
ifp->name);
continue;
}
- p = D6_COPTION_DATA(o);
iap = (const struct dhcp6_ia_addr *)D6_COPTION_DATA(o);
- p += sizeof(in6);
a = dhcp6_findaddr(ifp, &iap->addr);
if (a == NULL) {
a = calloc(1, sizeof(*a));
int pfxlen;
/* RFC6603 Section 4.2 */
- pfxlen = 0; /* appease gcc */
if (strcmp(ifp->name, ifs->name) == 0) {
if (prefix->prefix_exclude_len == 0) {
/* Don't spam the log automatically */