]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct API
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jun 2019 13:45:45 +0000 (09:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jun 2019 13:45:45 +0000 (09:45 -0400)
src/modules/proto_control/radmin.c

index bbe7c3dfc79058c40a0a50f0bf5c9261cc23652b..cc6a4f4d8d917a77e06a237e29b0aae3f044c9b7 100644 (file)
@@ -844,7 +844,7 @@ int main(int argc, char **argv)
                 *      We are looking for: server whatever { namespace="control" ...   }
                 */
                if (server) {
-                       subcs = cf_section_find_next(cs, subcs, "server", server);
+                       subcs = cf_section_find(cs, "server", server);
                        if (subcs) {
                                fprintf(stderr, "%s: Could not find virtual server %s {}\n", progname, server);
                                goto error;