diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-03 14:38:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 14:38:36 +0200 |
commit | 5e0bb1a6287387f179540895e43647a0baa8c724 (patch) | |
tree | e823e540cbfe3ba0d2bf39a465788619626fb44a /src/network/networkd-link.c | |
parent | e5bc3f4fdc2ac2f68b781adc958e9570e577538b (diff) | |
parent | 72ccee50d0d08e2339ec283d669eb9ed282aac29 (diff) |
Merge pull request #3828 from keszybz/drop-systemd-vconsole-setup-service
Update documentation for systemd-vconsole-setup
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 82f56158be..a0da697707 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -256,12 +256,8 @@ 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); - else { - if (disabled) - log_link_info(link, "IPv6 disabled for interface: %m"); - else - log_link_info(link, "IPv6 enabled for interface: %m"); - } + else + log_link_info(link, "IPv6 %sd for interface: %m", enable_disable(!disabled)); return 0; } |