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 06:06:14 +02:00
parent 7a0f1895d3
commit 667ceb9d9d
+2 -2
View File
@@ -464,8 +464,8 @@ int dhcp6_option_parse_ia(DHCP6Option *iaoption, DHCP6IA *ia) {
if (status < 0)
return status;
if (status > 0) {
log_dhcp6_client(client, "IA status %d",
status);
log_dhcp6_client(client, "IA status %s",
dhcp6_message_status_to_string(status));
return -EINVAL;
}