]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Check auth_pool_name
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Oct 2011 15:04:05 +0000 (17:04 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Oct 2011 15:04:05 +0000 (17:04 +0200)
src/main/realms.c

index 33d40307c34ddd86afca2209ab5e4dbe91307ba5..57b3f82df104efbdc0cee92f66f93ec66606fa25 100644 (file)
@@ -1459,7 +1459,7 @@ static int realm_add(realm_config_t *rc, CONF_SECTION *cs)
                        return 0;
                }
 
-               if (!auth_pool ||
+               if (!auth_pool || auth_pool_name &&
                    (strcmp(auth_pool_name, acct_pool_name) != 0)) {
                        do_print = TRUE;
                }