summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/dhcpv6-ia.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index bb13b9f..2f0ce61 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -754,6 +754,8 @@ static bool assign_na(struct interface *iface, struct dhcp_assignment *a, bool i
counter++;
+ syslog(LOG_INFO, "DHCPV6 result %ld %ld %d %lx %zx", sizeof(int), sizeof(long), iface->dhcpv6_hostid_len, mask, try);
+
if (try < 0x100)
continue;
@@ -1129,6 +1131,9 @@ static size_t build_ia(uint8_t *buf, size_t buflen, uint16_t status,
o_ia.len = htons(ia_len - 4);
memcpy(buf, &o_ia, ia_hdr_len);
+
+ syslog(LOG_INFO, "DHCPV6 build_ia %d %d %d %zd %zd %zd %zd %zd %d", DHCPV6_OPT_IA_TA, ia->type, o_ia.type, sizeof(o_ia), sizeof(o_ia.t1), sizeof(o_ia.t2), ia_hdr_len, ia_len, o_ia.len);
+
return ia_len;
}