From bd12386e70e2d830bb484769ea645cd4ec7e28be Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Fri, 9 Feb 2024 14:12:09 +0900
Subject: [PATCH 0236/1160] network: fix typo

Follow-up for baa95d2274179e680c4731a74f514e2651722ad2.

(cherry picked from commit a140eaf16a65558d5ce448bfc4f4ecc99710b29b)
---
 src/network/networkd-setlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/network/networkd-setlink.c b/src/network/networkd-setlink.c
index 2298f9ea3a..9dccb56795 100644
--- a/src/network/networkd-setlink.c
+++ b/src/network/networkd-setlink.c
@@ -484,7 +484,7 @@ static int link_is_ready_to_set_link(Link *link, Request *req) {
                 break;
 
         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... */
@@ -531,7 +531,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. */
-- 
2.33.0