Skip to content

Commit

Permalink
network: fix typo
Browse files Browse the repository at this point in the history
Follow-up for baa95d2.
  • Loading branch information
yuwata committed Feb 9, 2024
1 parent bbcd088 commit a140eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/networkd-setlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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... */
Expand Down Expand Up @@ -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. */
Expand Down

0 comments on commit a140eaf

Please sign in to comment.