Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685090
Collapse All | Expand All

(-)a/src/network/networkd-link.c.ORIG (-3 / +5 lines)
Lines 320-328 Link Here
320
        disabled = !link_ipv6_enabled(link);
320
        disabled = !link_ipv6_enabled(link);
321
321
322
        r = sysctl_write_ip_property_boolean(AF_INET6, link->ifname, "disable_ipv6", disabled);
322
        r = sysctl_write_ip_property_boolean(AF_INET6, link->ifname, "disable_ipv6", disabled);
323
        if (r < 0)
323
        if (r < 0) {
324
                log_link_warning_errno(link, r, "Cannot %s IPv6 for interface %s: %m",
324
                if ( link->ifname )
325
                                       enable_disable(!disabled), link->ifname);
325
                  log_link_warning_errno(link, r, "Cannot %s IPv6 for interface %s: %m",
326
                                         enable_disable(!disabled), link->ifname);
327
        }
326
        else
328
        else
327
                log_link_info(link, "IPv6 successfully %sd", enable_disable(!disabled));
329
                log_link_info(link, "IPv6 successfully %sd", enable_disable(!disabled));
328
330

Return to bug 685090