]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Backwards compatibility?!
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 1 Jul 2015 15:33:04 +0000 (11:33 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 1 Jul 2015 15:33:14 +0000 (11:33 -0400)
src/modules/rlm_couchbase/mod.c

index 40982e69dfbee626014fcf2cfde8db80e9576a82..eaaf98d951c1e9990c4314386cc0a18948817d8c 100644 (file)
@@ -122,7 +122,8 @@ int mod_build_attribute_element_map(CONF_SECTION *conf, void *instance)
        const char *attribute, *element;    /* attribute and element names */
 
        /* find map section */
-       cs = cf_section_sub_find(conf, "update");
+       cs = cf_section_sub_find(conf, "map");
+       if (!cs) cf_section_sub_find(conf, "update");
 
        /* check section */
        if (!cs) {