]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Revert "don't parse clients twice"
authorAlan T. DeKok <aland@freeradius.org>
Thu, 27 May 2021 14:24:43 +0000 (10:24 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 27 May 2021 14:24:43 +0000 (10:24 -0400)
This reverts commit a71ed523e1745e4fbbe1d827efee4bb395439620.

We need a different fix

src/main/client.c

index 59dbe670fba2b00f44bfb9fafab8447ded3b97e5..7f4d6545bb92f4ccc89012e04b6d7849bdd41f4c 100644 (file)
@@ -575,12 +575,9 @@ RADCLIENT_LIST *client_list_parse_section(CONF_SECTION *section, UNUSED bool tls
        }
 
        if (cf_top_section(section) == section) {
-               if (clients->parsed) return clients;
-
                global = true;
                clients->name = "global";
                clients->server = NULL;
-               clients->parsed = true;
        }
 
        if (strcmp("server", cf_section_name1(section)) == 0) {