diff options
author | Susant Sahani <ssahani@vmware.com> | 2020-04-13 05:04:22 +0200 |
---|---|---|
committer | Susant Sahani <ssahani@vmware.com> | 2020-04-13 06:06:14 +0200 |
commit | 667ceb9d9dc2d19e3254fdc12acebae9b50ce613 (patch) | |
tree | 2b7ad183e541eeb7a233b1963419843a43a6ec16 /src/libsystemd-network/dhcp6-option.c | |
parent | 7a0f1895d3ea8ee18dd33ed08e4a2188f7f836b6 (diff) | |
download | systemd-667ceb9d9dc2d19e3254fdc12acebae9b50ce613.tar.gz |
sd-network: DHCP6 - Use readable error status rather than numeric
value in the log message
Diffstat (limited to 'src/libsystemd-network/dhcp6-option.c')
-rw-r--r-- | src/libsystemd-network/dhcp6-option.c | 4 |
1 files 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; } |