Fixing a typo in the radius accounting end condition configuration handling in mod_xml_radius

This commit is contained in:
William King 2014-09-04 13:48:50 -07:00
parent 57bd4eb9bd
commit fddf44426f

View 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;
}