From: Arran Cudbard-Bell Date: Wed, 1 Jul 2015 15:33:04 +0000 (-0400) Subject: Backwards compatibility?! X-Git-Tag: release_3_0_9~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b8cd27f9b686010ce273445c0fdabdd2c0fc29;p=thirdparty%2Ffreeradius-server.git Backwards compatibility?! --- diff --git a/src/modules/rlm_couchbase/mod.c b/src/modules/rlm_couchbase/mod.c index 40982e69dfb..eaaf98d951c 100644 --- a/src/modules/rlm_couchbase/mod.c +++ b/src/modules/rlm_couchbase/mod.c @@ -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) {