]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Section configs structs arent pointers...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Aug 2012 16:35:41 +0000 (17:35 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Aug 2012 16:35:41 +0000 (17:35 +0100)
src/modules/rlm_sql/rlm_sql.c

index f184557d0ad8b2dfeadc86ec33fc37e4072143f7..af37e6e48792bfd6cfafb2e00e8dc4aea901ab87 100644 (file)
@@ -1226,7 +1226,7 @@ static int rlm_sql_redundant(SQL_INST *inst, REQUEST *request,
        
        char    *p = path;
 
-       if (!section) {
+       if (!section || !section->reference) {
                DEBUG("No configuration provided for this section");
                
                return RLM_MODULE_NOOP;