From fddf44426f4033c74c9c17f425563d95dba079a6 Mon Sep 17 00:00:00 2001 From: William King Date: Thu, 4 Sep 2014 13:48:50 -0700 Subject: [PATCH] Fixing a typo in the radius accounting end condition configuration handling in mod_xml_radius --- src/mod/xml_int/mod_xml_radius/mod_xml_radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c b/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c index 4cfa99d39d..1c8a4744e5 100644 --- a/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c +++ b/src/mod/xml_int/mod_xml_radius/mod_xml_radius.c @@ -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; }