From 667ceb9d9dc2d19e3254fdc12acebae9b50ce613 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Mon, 13 Apr 2020 05:04:22 +0200 Subject: [PATCH] sd-network: DHCP6 - Use readable error status rather than numeric value in the log message --- src/libsystemd-network/dhcp6-option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsystemd-network/dhcp6-option.c b/src/libsystemd-network/dhcp6-option.c index 9f5352a60d..ed684d44f3 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; }