Navigation


Changeset 1085:7d7266115a34 in freeDiameter for libfdcore/p_psm.c


Ignore:
Timestamp:
May 3, 2013, 8:20:56 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleaning of the traces in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_psm.c

    r1078 r1085  
    454454        }
    455455
    456         /* Handle the (easy) debug event now */
    457         if (event == FDEVP_DUMP_ALL) {
    458                 fd_peer_dump(peer, ANNOYING);
    459                 goto psm_loop;
    460         }
    461 
    462456        /* Requests to terminate the peer object */
    463457        if (event == FDEVP_TERMINATE) {
     
    712706                CHECK_FCT_DO( fd_cnx_getremoteeps(peer->p_cnxctx, &peer->p_hdr.info.pi_endpoints), /* ignore the error */);
    713707               
    714                 /* We do not support local endpoints change currently, but it could be added here if needed (refresh fd_g_config->cnf_endpoints)*/
    715                
    716                 if (TRACE_BOOL(ANNOYING)) {
    717                         TRACE_DEBUG(ANNOYING, "New remote endpoint(s):" );
    718                         fd_ep_dump(6, &peer->p_hdr.info.pi_endpoints);
     708                /* We do not support local endpoints change currently, but it could be added here if needed (refresh fd_g_config->cnf_endpoints) */
     709                {
     710                        char * buf = NULL;
     711                        size_t len = 0;
     712                        LOG_D("New remote endpoint(s): %s",  fd_ep_dump(&buf, &len, NULL, 6, &peer->p_hdr.info.pi_endpoints) ?: "error");
     713                        free(buf);
    719714                }
    720715               
Note: See TracChangeset for help on using the changeset viewer.