Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgwx_auth.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/rgwx_auth.c
r972 r974 1237 1237 /* In any case, the following is processed: */ 1238 1238 (*rad_fw)->hdr->code = RADIUS_CODE_ACCESS_REJECT; 1239 fd_log_debug("[auth.rgwx] Received Diameter answer with error code '%d' from server '%.*s', session %.*s, translating into Access-Reject \n",1239 fd_log_debug("[auth.rgwx] Received Diameter answer with error code '%d' from server '%.*s', session %.*s, translating into Access-Reject", 1240 1240 ahdr->avp_value->u32, 1241 1241 oh->avp_value->os.len, oh->avp_value->os.data, … … 1244 1244 if (avp_x) { 1245 1245 CHECK_FCT( fd_msg_avp_hdr ( avp_x, &ahdr ) ); 1246 fd_log_debug("[auth.rgwx] Error-Message content: '%.*s' \n",1246 fd_log_debug("[auth.rgwx] Error-Message content: '%.*s'", 1247 1247 ahdr->avp_value->os.len, ahdr->avp_value->os.data); 1248 1248 } … … 1250 1250 if (avp_x) { 1251 1251 CHECK_FCT( fd_msg_avp_hdr ( avp_x, &ahdr ) ); 1252 fd_log_debug("[auth.rgwx] Error-Reporting-Host: '%.*s' \n",1252 fd_log_debug("[auth.rgwx] Error-Reporting-Host: '%.*s'", 1253 1253 ahdr->avp_value->os.len, ahdr->avp_value->os.data); 1254 1254 } 1255 1255 CHECK_FCT( fd_msg_search_avp (*diam_ans, cs->dict.Failed_AVP, &avp_x) ); 1256 1256 if (avp_x) { 1257 fd_log_debug("[auth.rgwx] Failed-AVP was included in the message. \n");1257 fd_log_debug("[auth.rgwx] Failed-AVP was included in the message."); 1258 1258 /* Dump its content ? */ 1259 1259 } … … 1449 1449 /* We only check the value */ 1450 1450 if (ahdr->avp_value->u32 != 3) { 1451 fd_log_debug("[auth.rgwx] Received Diameter answer with Auth-Request-Type set to %d (%s) from server %.*s, session %.*s. \n"1451 fd_log_debug("[auth.rgwx] Received Diameter answer with Auth-Request-Type set to %d (%s) from server %.*s, session %.*s." 1452 1452 " This may cause interoperability problems with RADIUS.\n", 1453 1453 ahdr->avp_value->u32, … … 1614 1614 case DIAM_ATTR_NAS_FILTER_RULE: 1615 1615 /* This is not translatable to RADIUS */ 1616 fd_log_debug("[auth.rgwx] Received Diameter answer with non-translatable NAS-Filter-Rule AVP from '%.*s' (session: '%.*s'), ignoring. \n",1616 fd_log_debug("[auth.rgwx] Received Diameter answer with non-translatable NAS-Filter-Rule AVP from '%.*s' (session: '%.*s'), ignoring.", 1617 1617 oh->avp_value->os.len, oh->avp_value->os.data, 1618 1618 sid->avp_value->os.len, sid->avp_value->os.data); … … 1647 1647 case DIAM_ATTR_QOS_FILTER_RULE: 1648 1648 /* This is not translatable to RADIUS */ 1649 fd_log_debug("[auth.rgwx] Received Diameter answer with non-translatable QoS-Filter-Rule AVP from '%.*s' (session: '%.*s'), ignoring. \n",1649 fd_log_debug("[auth.rgwx] Received Diameter answer with non-translatable QoS-Filter-Rule AVP from '%.*s' (session: '%.*s'), ignoring.", 1650 1650 oh->avp_value->os.len, oh->avp_value->os.data, 1651 1651 sid->avp_value->os.len, sid->avp_value->os.data); … … 1856 1856 1857 1857 if (ahdr->avp_value->os.len != 64) { 1858 TRACE_DEBUG(INFO, "Received EAP-Master-Session-Key attribute with length %d != 64. \n", ahdr->avp_value->os.len)1858 TRACE_DEBUG(INFO, "Received EAP-Master-Session-Key attribute with length %d != 64.", ahdr->avp_value->os.len) 1859 1859 } 1860 1860
Note: See TracChangeset
for help on using the changeset viewer.