sd-network: DHCP6 - Use readable error status rather than numeric

value in the log message
This commit is contained in:
Susant Sahani 2020-04-13 05:04:22 +02:00
parent 7a0f1895d3
commit 667ceb9d9d

View file

@ -464,8 +464,8 @@ int dhcp6_option_parse_ia(DHCP6Option *iaoption, DHCP6IA *ia) {
if (status < 0) if (status < 0)
return status; return status;
if (status > 0) { if (status > 0) {
log_dhcp6_client(client, "IA status %d", log_dhcp6_client(client, "IA status %s",
status); dhcp6_message_status_to_string(status));
return -EINVAL; return -EINVAL;
} }