about summary refs log tree commit diff
path: root/src/core/supplicant/nm-supplicant-settings-verify.c
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2022-02-03 09:24:19 -0500
committerJeremy Bicha <jeremy.bicha@canonical.com>2022-02-03 12:01:26 -0500
commit240934659cd8326a14324c73d4f0f88eecfddcab (patch)
treee07cde48aa0a143bebf10ca7103cc0e69febad25 /src/core/supplicant/nm-supplicant-settings-verify.c
parentfbe61ddadf4a89800a8e3651ae91099259ddf2ad (diff)
parent1628eda029ba4dede8d4d45572c6b60367882436 (diff)
Merge tag 'debian/1.34.0-2' into ubuntu/master
network-manager Debian release 1.34.0-2
Diffstat (limited to 'src/core/supplicant/nm-supplicant-settings-verify.c')
-rw-r--r--src/core/supplicant/nm-supplicant-settings-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/supplicant/nm-supplicant-settings-verify.c b/src/core/supplicant/nm-supplicant-settings-verify.c
index 5e77b207..ceb4b6ae 100644
--- a/src/core/supplicant/nm-supplicant-settings-verify.c
+++ b/src/core/supplicant/nm-supplicant-settings-verify.c
@@ -223,7 +223,7 @@ validate_type_keyword(const struct Opt *opt, const char *value, const guint32 le
             s++;
         }
 
-        if (nm_utils_strv_find_first((char **) opt->str_allowed, -1, value) < 0)
+        if (nm_strv_find_first(opt->str_allowed, -1, value) < 0)
             return FALSE;
 
         if (!s)