From: Yu Watanabe Date: Fri, 9 Feb 2024 05:12:09 +0000 (+0900) Subject: network: fix typo X-Git-Tag: v256-rc1~928^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a140eaf16a65558d5ce448bfc4f4ecc99710b29b;p=thirdparty%2Fsystemd.git network: fix typo Follow-up for baa95d2274179e680c4731a74f514e2651722ad2. --- diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c index 38f90969ec4..d0cdca62982 100644 --- a/src/network/networkd-setlink.c +++ b/src/network/networkd-setlink.c @@ -486,7 +486,7 @@ static int link_is_ready_to_set_link(Link *link, Request *req) { return link->bridge_vlan_set; case REQUEST_TYPE_SET_LINK_CAN: - /* Do not check link->set_flgas_messages here, as it is ok even if link->flags + /* Do not check link->set_flags_messages here, as it is ok even if link->flags * is outdated, and checking the counter causes a deadlock. */ if (FLAGS_SET(link->flags, IFF_UP)) { /* The CAN interface must be down to configure bitrate, etc... */ @@ -533,7 +533,7 @@ static int link_is_ready_to_set_link(Link *link, Request *req) { return false; m = link->network->bond->ifindex; - /* Do not check link->set_flgas_messages here, as it is ok even if link->flags + /* Do not check link->set_flags_messages here, as it is ok even if link->flags * is outdated, and checking the counter causes a deadlock. */ if (FLAGS_SET(link->flags, IFF_UP)) { /* link must be down when joining to bond master. */