Navigation


Changeset 901:a3eed6420b5b in freeDiameter


Ignore:
Timestamp:
Dec 8, 2012, 4:54:33 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Log incoming messages on new connections too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/server.c

    r740 r901  
    168168        CHECK_FCT_DO( fd_msg_parse_buffer( &buf, bufsz, &msg ), /* Parsing failed */ goto cleanup );
    169169       
     170        /* Log incoming message */
     171        fd_msg_log( FD_MSG_LOG_RECEIVED, msg, "Received %zdb from new client '%s'", bufsz, fd_cnx_getid(c->conn) );
     172       
    170173        /* We expect a CER, it must parse with our dictionary and rules */
    171174        CHECK_FCT_DO( fd_msg_parse_rules( msg, fd_g_config->cnf_dict, NULL ), /* Parsing failed -- trace details ? */ goto cleanup );
Note: See TracChangeset for help on using the changeset viewer.