Typo fix: s/advertisment/advertisement/

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-05-28 11:50:37 -04:00
parent be8386a3e5
commit 0053598f36
2 changed files with 2 additions and 2 deletions

2
NEWS
View file

@ -783,7 +783,7 @@ CHANGES WITH 227:
* systemd-networkd gained support for: * systemd-networkd gained support for:
- Setting the IPv6 Router Advertisment settings via - Setting the IPv6 Router Advertisement settings via
IPv6AcceptRouterAdvertisements= in .network files. IPv6AcceptRouterAdvertisements= in .network files.
- Configuring the HelloTimeSec=, MaxAgeSec= and - Configuring the HelloTimeSec=, MaxAgeSec= and

View file

@ -2146,7 +2146,7 @@ static int link_set_ipv6_accept_ra(Link *link) {
p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/accept_ra"); p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/accept_ra");
/* We handle router advertisments ourselves, tell the kernel to GTFO */ /* We handle router advertisements ourselves, tell the kernel to GTFO */
r = write_string_file(p, "0", WRITE_STRING_FILE_VERIFY_ON_FAILURE); r = write_string_file(p, "0", WRITE_STRING_FILE_VERIFY_ON_FAILURE);
if (r < 0) if (r < 0)
log_link_warning_errno(link, r, "Cannot disable kernel IPv6 accept_ra for interface: %m"); log_link_warning_errno(link, r, "Cannot disable kernel IPv6 accept_ra for interface: %m");