Changeset 535:72c511043f05 in freeDiameter
- Timestamp:
- Sep 9, 2010, 2:17:54 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- extensions/app_radgw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgw_worker.c
r516 r535 285 285 286 286 287 if (!keepsession) {288 /* Destroy remaining session data (stateless gateway) */289 CHECK_FCT_DO( fd_sess_destroy(&pa->sess), );290 }291 292 287 /* Now try and send the RADIUS answer */ 293 288 if (rad_ans) { … … 302 297 } 303 298 299 if (!keepsession) { 300 /* Destroy remaining session data (stateless gateway) */ 301 CHECK_FCT_DO( fd_sess_destroy(&pa->sess), ); 302 } 303 304 304 /* Clear the RADIUS request */ 305 305 if (pa->rad) { -
extensions/app_radgw/rgwx_acct.c
r532 r535 490 490 CHECK_FCT( fd_sess_fromsid ( (char *)/* cast should be removed later */si, si_len, session, NULL) ); 491 491 492 TRACE_DEBUG(FULL, "[a uth.rgwx] Translating new accounting message for session '%.*s'...", si_len, si);492 TRACE_DEBUG(FULL, "[acct.rgwx] Translating new accounting message for session '%.*s'...", si_len, si); 493 493 494 494 /* Add the Session-Id AVP as first AVP */ … … 1262 1262 1263 1263 default: 1264 fd_log_debug("[a uth.rgwx] Received Diameter answer with error code '%d' from server '%.*s', session %.*s, not translating into Accounting-Response\n",1264 fd_log_debug("[acct.rgwx] Received Diameter answer with error code '%d' from server '%.*s', session %.*s, not translating into Accounting-Response\n", 1265 1265 ahdr->avp_value->u32, 1266 1266 oh->avp_value->os.len, oh->avp_value->os.data, … … 1269 1269 if (avp) { 1270 1270 CHECK_FCT( fd_msg_avp_hdr ( avp, &ahdr ) ); 1271 fd_log_debug("[a uth.rgwx] Error-Message content: '%.*s'\n",1271 fd_log_debug("[acct.rgwx] Error-Message content: '%.*s'\n", 1272 1272 ahdr->avp_value->os.len, ahdr->avp_value->os.data); 1273 1273 } … … 1275 1275 if (avp) { 1276 1276 CHECK_FCT( fd_msg_avp_hdr ( avp, &ahdr ) ); 1277 fd_log_debug("[a uth.rgwx] Error-Reporting-Host: '%.*s'\n",1277 fd_log_debug("[acct.rgwx] Error-Reporting-Host: '%.*s'\n", 1278 1278 ahdr->avp_value->os.len, ahdr->avp_value->os.data); 1279 1279 } 1280 1280 CHECK_FCT( fd_msg_search_avp (*diam_ans, cs->dict.Failed_AVP, &avp) ); 1281 1281 if (avp) { 1282 fd_log_debug("[a uth.rgwx] Failed-AVP was included in the message.\n");1282 fd_log_debug("[acct.rgwx] Failed-AVP was included in the message.\n"); 1283 1283 /* Dump its content ? */ 1284 1284 }
Note: See TracChangeset
for help on using the changeset viewer.