1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

network: Correct typo and naming in error message

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.
This commit is contained in:
Kevin P. Fleming 2020-02-08 15:35:47 -05:00 committed by Yu Watanabe
parent 87f9d6ea8e
commit 53f8cced45

View 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);