sd-ipv4ll: allow to set MAC address without stopping sd-ipv4ll engine

This commit is contained in:
Yu Watanabe
2021-07-01 00:49:02 +09:00
parent 7f77917c0e
commit 9e5aa34fc8
+1 -1
View File
@@ -137,7 +137,7 @@ int sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr) {
assert_return(ll, -EINVAL);
assert_return(addr, -EINVAL);
assert_return(sd_ipv4ll_is_running(ll) == 0, -EBUSY);
assert_return(!ether_addr_is_null(addr), -EINVAL);
r = sd_ipv4acd_set_mac(ll->acd, addr);
if (r < 0)