]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - hostapd/config_file.c
OWE: Allow set of enabled DH groups to be limited on AP
[thirdparty/hostap.git] / hostapd / config_file.c
index ac08b7bdafa236c6ff14567a765e5b3fa31eacfe..fd3ad0a734735d30b147c39e535ccb8123aecf06 100644 (file)
@@ -3795,7 +3795,13 @@ static int hostapd_config_fill(struct hostapd_config *conf,
        } else if (os_strcmp(buf, "owe_transition_ifname") == 0) {
                os_strlcpy(bss->owe_transition_ifname, pos,
                           sizeof(bss->owe_transition_ifname));
-
+       } else if (os_strcmp(buf, "owe_groups") == 0) {
+               if (hostapd_parse_intlist(&bss->owe_groups, pos)) {
+                       wpa_printf(MSG_ERROR,
+                                  "Line %d: Invalid owe_groups value '%s'",
+                                  line, pos);
+                       return 1;
+               }
 #endif /* CONFIG_OWE */
        } else {
                wpa_printf(MSG_ERROR,