summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-28 11:50:37 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-28 11:50:37 -0400
commit0053598f3615c9a069264d08180f0132da1ec73f (patch)
treedde765fa0edee6a38945de60370473434ff221cd
parentbe8386a3e51183738a61cf46dea698ef9d499bae (diff)
Typo fix: s/advertisment/advertisement/
-rw-r--r--NEWS2
-rw-r--r--src/network/networkd-link.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c299ed7180..33b55e9170 100644
--- a/NEWS
+++ b/NEWS
@@ -783,7 +783,7 @@ CHANGES WITH 227:
* systemd-networkd gained support for:
- - Setting the IPv6 Router Advertisment settings via
+ - Setting the IPv6 Router Advertisement settings via
IPv6AcceptRouterAdvertisements= in .network files.
- Configuring the HelloTimeSec=, MaxAgeSec= and
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index a021fc886f..28becae354 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2146,7 +2146,7 @@ static int link_set_ipv6_accept_ra(Link *link) {
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);
if (r < 0)
log_link_warning_errno(link, r, "Cannot disable kernel IPv6 accept_ra for interface: %m");