]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixing a typo in the radius accounting end condition configuration handling in mod_xm...
authorWilliam King <william.king@quentustech.com>
Thu, 4 Sep 2014 20:48:50 +0000 (13:48 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 4 Sep 2014 20:48:50 +0000 (13:48 -0700)
src/mod/xml_int/mod_xml_radius/mod_xml_radius.c

index 4cfa99d39d24f882912ee492c39eaa5d385cc367..1c8a4744e5464c3f9838a37b284e566e63f33b91 100644 (file)
@@ -990,7 +990,7 @@ switch_status_t mod_xml_radius_accounting_end(switch_core_session_t *session){
        }
        
        /* If there are conditions defined, and none of them pass, then skip this accounting */
-       if ((conditions = switch_xml_child(globals.acct_start_configs, "conditions")) != NULL &&
+       if ((conditions = switch_xml_child(globals.acct_end_configs, "conditions")) != NULL &&
                mod_xml_radius_check_conditions(channel, conditions) != SWITCH_STATUS_SUCCESS ) {
                goto end;
        }