*/
if (inlen >= 0) {
if (inlen >= (ssize_t)sizeof(buffer)) {
- fr_strerror_printf("Invalid IPv4 address string \"%s\"", value);
+ fr_strerror_printf("Invalid IPv4 address string \"%pV\"", fr_box_strvalue_len(value, inlen));
return -1;
}
memcpy(buffer, value, inlen);
*/
if (inlen >= 0) {
if (inlen >= (ssize_t)sizeof(buffer)) {
- fr_strerror_printf("Invalid IPv6 address string \"%s\"", value);
+ fr_strerror_printf("Invalid IPv6 address string \"%pV\"", fr_box_strvalue_len(value, inlen));
return -1;
}
memcpy(buffer, value, inlen);