switch (ret) {
/*
* Only RENEW/REBIND/INFORMATION REQUEST
- * messaage transmission can be requested
+ * message transmission can be requested
* by a RECONFIGURE
*/
case DHCPV6_MSG_RENEW:
if (t1 > t2)
return 0;
- syslog(LOG_INFO, "IAID %04x T1 %d T2 %d", htonl(ia_hdr->iaid), t1, t2);
+ syslog(LOG_INFO, "%s %04x T1 %d T2 %d", ntohs(ia_hdr->type) == DHCPV6_OPT_IA_PD ? "IA_PD" : "IA_NA", ntohl(ia_hdr->iaid), t1, t2);
// Update address IA
dhcpv6_for_each_option(&ia_hdr[1], end, otype, olen, odata) {