Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgw_worker.c
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgw_worker.c
r767 r974 163 163 /* Check the created Diameter message -- it will be invalid if no callback has handled the RADIUS message */ 164 164 if ((diam_msg == NULL) || ( fd_msg_parse_rules(diam_msg, fd_g_config->cnf_dict, NULL) ) ) { 165 fd_log_debug("[radgw] No or invalid Diameter message was generated after processing the RADIUS command %hhd (%s). \n"165 fd_log_debug("[radgw] No or invalid Diameter message was generated after processing the RADIUS command %hhd (%s)." 166 166 " It may indicate a gateway configuration problem, or implementation issue in a plugin.\n", 167 167 msg->radius.hdr->code, rgw_msg_code_str(msg->radius.hdr->code)); … … 174 174 struct radius_attr_hdr *attr = (struct radius_attr_hdr *)(msg->radius.buf + msg->radius.attr_pos[a]); 175 175 pb++; 176 fd_log_debug("[radgw] No plugin available to handle attribute %hhd (%s) in command %hhd (%s)! Translation aborted. \n",176 fd_log_debug("[radgw] No plugin available to handle attribute %hhd (%s) in command %hhd (%s)! Translation aborted.", 177 177 attr->type, rgw_msg_attrtype_str(attr->type), 178 178 msg->radius.hdr->code, rgw_msg_code_str(msg->radius.hdr->code)); … … 193 193 rgw_clients_dispose(&cli); 194 194 195 TRACE_DEBUG(INFO, "%d problem(s) occurred while translating a RADIUS message, data discarded. \n", pb);195 TRACE_DEBUG(INFO, "%d problem(s) occurred while translating a RADIUS message, data discarded.", pb); 196 196 continue; 197 197 } … … 207 207 { 208 208 /* If an error occurs, log and destroy the data */ 209 fd_log_debug("An error occurred while sending Diameter message, please turn Debug on for detail. \n");209 fd_log_debug("An error occurred while sending Diameter message, please turn Debug on for detail."); 210 210 if (session) { 211 211 CHECK_FCT_DO( fd_sess_destroy(&session), );
Note: See TracChangeset
for help on using the changeset viewer.