Use correct function. This closes bug #512
authoraland <aland>
Wed, 5 Mar 2008 10:02:47 +0000 (10:02 +0000)
committeraland <aland>
Wed, 5 Mar 2008 10:02:47 +0000 (10:02 +0000)
src/modules/rlm_protocol_filter/rlm_protocol_filter.c

index b8b8790..14a3f04 100755 (executable)
@@ -100,8 +100,7 @@ static int filter_instantiate(CONF_SECTION *conf, void **instance)
                return -1;
        }
 
-       inst->cs = conf_read("rlm_protocol_filter", 0,
-                            inst->filename, NULL);
+       inst->cs = cf_file_read(inst->filename);
        if (!inst->cs) {
                filter_detach(inst);
                return -1;