1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-27 03:21:32 +03:00

network: skip to set IPv6LL address generation mode if the requested mode is already set

This commit is contained in:
Yu Watanabe 2022-02-08 22:27:17 +09:00
parent 6614116458
commit 05b8fc498e

View File

@ -685,6 +685,9 @@ int link_request_to_set_addrgen_mode(Link *link) {
mode = link_get_ipv6ll_addrgen_mode(link);
if (mode == link->ipv6ll_address_gen_mode)
return 0;
r = link_request_set_link(link, SET_LINK_ADDRESS_GENERATION_MODE, link_set_addrgen_mode_handler, &req);
if (r < 0)
return r;