]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: Correct typo and naming in error message
authorKevin P. Fleming <kevin@km6g.us>
Sat, 8 Feb 2020 20:35:47 +0000 (15:35 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 10 Feb 2020 06:37:13 +0000 (15:37 +0900)
This error message will be emitted when any form of SLAAC address
generation fails, not just 'prefix stable', so the message should
only refer to SLAAC.

src/network/networkd-ndisc.c

index cf0cd8ed5b09290d24093897310c277ddd6f1cf6..4a677319482a098b05d178c620e1702200c447ea 100644 (file)
@@ -346,7 +346,7 @@ static int ndisc_router_process_autonomous_prefix(Link *link, sd_ndisc_router *r
 
         r = ndisc_router_generate_address(link, prefixlen, lifetime_preferred, address);
         if (r < 0)
-                return log_link_error_errno(link, r, "Falied to generate prefix stable address: %m");
+                return log_link_error_errno(link, r, "Failed to generate SLAAC address: %m");
 
         /* see RFC4862 section 5.5.3.e */
         r = address_get(link, address->family, &address->in_addr, address->prefixlen, &existing_address);