diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-11 20:38:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-11 20:38:15 +0100 |
commit | 15ffcc3456e054c0f9fd293afe449fed292b5d38 (patch) | |
tree | 896604e75290681f4361f2d67a880f80d2a7de9c /src/network/networkd-link.c | |
parent | 4682047cf23f3471894d83d847cdac6b3bec92e1 (diff) | |
parent | 9e35b3de429890ed836271dc0ccbd821ab0c204a (diff) |
Merge pull request #4859 from keszybz/networkd
Networkd man page update and fixes for the fallout
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index dd0e33a1ce..8d6992cee8 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -255,9 +255,10 @@ static int link_enable_ipv6(Link *link) { r = write_string_file(p, one_zero(disabled), WRITE_STRING_FILE_VERIFY_ON_FAILURE); if (r < 0) - log_link_warning_errno(link, r, "Cannot %s IPv6 for interface %s: %m", disabled ? "disable" : "enable", link->ifname); + log_link_warning_errno(link, r, "Cannot %s IPv6 for interface %s: %m", + enable_disable(!disabled), link->ifname); else - log_link_info(link, "IPv6 %sd for interface: %m", enable_disable(!disabled)); + log_link_info(link, "IPv6 successfully %sd", enable_disable(!disabled)); return 0; } |