From: Susant Sahani Date: Mon, 13 Apr 2020 03:04:22 +0000 (+0200) Subject: sd-network: DHCP6 - Use readable error status rather than numeric X-Git-Tag: v246-rc1~598^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15411%2Fhead;p=thirdparty%2Fsystemd.git sd-network: DHCP6 - Use readable error status rather than numeric value in the log message --- diff --git a/src/libsystemd-network/dhcp6-option.c b/src/libsystemd-network/dhcp6-option.c index 9f5352a60d7..ed684d44f30 100644 --- a/src/libsystemd-network/dhcp6-option.c +++ b/src/libsystemd-network/dhcp6-option.c @@ -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; }