sd-network: DHCP6 - Use readable error status rather than numeric
value in the log message
This commit is contained in:
parent
7a0f1895d3
commit
667ceb9d9d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue