]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2024 05:12:09 +0000 (14:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 9 Feb 2024 05:15:17 +0000 (14:15 +0900)
Follow-up for baa95d2274179e680c4731a74f514e2651722ad2.

src/network/networkd-setlink.c

index 38f90969ec498dffcf9a0c6d337efb25d7594f6b..d0cdca62982aaa6236baf7f2359c1c4c3e2adc6c 100644 (file)
@@ -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. */