Navigation


Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_radgw/rgwx_auth.c


Ignore:
Timestamp:
Mar 15, 2013, 2:14:35 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove newlines from fd_log_debug, TRACE_DEBUG, TRACE_ERROR, and TRACE_DEBUG_ERROR
(as far as sed could find them)
with manual fixing afterwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_auth.c

    r972 r974  
    12371237                        /* In any case, the following is processed: */
    12381238                        (*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",
    12401240                                        ahdr->avp_value->u32,
    12411241                                        oh->avp_value->os.len, oh->avp_value->os.data,
     
    12441244                        if (avp_x) {
    12451245                                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'",
    12471247                                                ahdr->avp_value->os.len, ahdr->avp_value->os.data);
    12481248                        }
     
    12501250                        if (avp_x) {
    12511251                                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'",
    12531253                                                ahdr->avp_value->os.len, ahdr->avp_value->os.data);
    12541254                        }
    12551255                        CHECK_FCT( fd_msg_search_avp (*diam_ans, cs->dict.Failed_AVP, &avp_x) );
    12561256                        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.");
    12581258                                /* Dump its content ? */
    12591259                        }
     
    14491449                                        /* We only check the value */
    14501450                                        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."
    14521452                                                                "  This may cause interoperability problems with RADIUS.\n",
    14531453                                                                ahdr->avp_value->u32,
     
    16141614                                case DIAM_ATTR_NAS_FILTER_RULE:
    16151615                                        /* 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.",
    16171617                                                        oh->avp_value->os.len, oh->avp_value->os.data,
    16181618                                                        sid->avp_value->os.len, sid->avp_value->os.data);
     
    16471647                                case DIAM_ATTR_QOS_FILTER_RULE:
    16481648                                        /* 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.",
    16501650                                                        oh->avp_value->os.len, oh->avp_value->os.data,
    16511651                                                        sid->avp_value->os.len, sid->avp_value->os.data);
     
    18561856                                               
    18571857                                                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)
    18591859                                                }
    18601860                                               
Note: See TracChangeset for help on using the changeset viewer.