Navigation


Changeset 1198:8c4dd4b693c6 in freeDiameter for libfdcore/cnxctx.c


Ignore:
Timestamp:
Jun 13, 2013, 6:30:14 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Some cleanups in the traces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/cnxctx.c

    r1192 r1198  
    293293        fd_sa_sdump_numeric(sa_buf, sa);
    294294       
     295        LOG_D("Connecting to TCP %s...", sa_buf);
     296       
    295297        /* Create the socket and connect, which can take some time and/or fail */
    296298        {
    297299                int ret = fd_tcp_client( &sock, sa, addrlen );
    298300                if (ret != 0) {
    299                         LOG_A("TCP connection to %s failed: %s", sa_buf, strerror(ret));
     301                        LOG_D("TCP connection to %s failed: %s", sa_buf, strerror(ret));
    300302                        return NULL;
    301303                }
     
    348350        fd_sa_sdump_numeric(sa_buf, &((struct fd_endpoint *)(list->next))->sa);
    349351       
     352        LOG_D("Connecting to SCTP %s:%hu...", sa_buf, port);
     353       
    350354        {
    351355                int ret = fd_sctp_client( &sock, no_ip6, port, list );
    352356                if (ret != 0) {
    353                         LOG_A("SCTP connection to [%s,...] failed: %s", sa_buf, strerror(ret));
     357                        LOG_D("SCTP connection to [%s,...] failed: %s", sa_buf, strerror(ret));
    354358                        return NULL;
    355359                }
Note: See TracChangeset for help on using the changeset viewer.