Navigation


Changeset 1120:c473581adff2 in freeDiameter for libfdcore/p_psm.c


Ignore:
Timestamp:
May 14, 2013, 1:32:28 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Cleanup some traces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/p_psm.c

    r1118 r1120  
    282282                return 0;
    283283       
    284         TRACE_DEBUG(((old == STATE_OPEN) || (new_state == STATE_OPEN)) ? INFO : FULL, "'%s'\t-> '%s'\t'%s'",
     284        LOG(((old == STATE_OPEN) || (new_state == STATE_OPEN)) ? FD_LOG_NOTICE : FD_LOG_DEBUG, "'%s'\t-> '%s'\t'%s'",
    285285                        STATE_STR(old),
    286286                        STATE_STR(new_state),
     
    500500                       
    501501                fd_hook_associate(msg, pmdl);
     502                CHECK_FCT_DO( fd_msg_source_set( msg, peer->p_hdr.info.pi_diamid, peer->p_hdr.info.pi_diamidlen), goto psm_end);
    502503       
    503504                /* If the current state does not allow receiving messages, just drop it */
     
    557558
    558559                                        /* Set the message source and add the Route-Record */
    559                                         CHECK_FCT_DO( fd_msg_source_set( msg, peer->p_hdr.info.pi_diamid, peer->p_hdr.info.pi_diamidlen, 1, fd_g_config->cnf_dict ), goto psm_end);
     560                                        CHECK_FCT_DO( fd_msg_source_setrr( msg, peer->p_hdr.info.pi_diamid, peer->p_hdr.info.pi_diamidlen, fd_g_config->cnf_dict ), goto psm_end);
    560561
    561562                                        /* Requeue to the global incoming queue */
     
    742743                        char * buf = NULL;
    743744                        size_t len = 0;
    744                         LOG_D("New remote endpoint(s): %s",  fd_ep_dump(&buf, &len, NULL, 0, 0, &peer->p_hdr.info.pi_endpoints) ?: "error");
     745                        LOG_D("Got low layer notification (IGNORED): remote endpoint(s) changed: %s",  fd_ep_dump(&buf, &len, NULL, 0, 0, &peer->p_hdr.info.pi_endpoints) ?: "error");
    745746                        free(buf);
    746747                }
Note: See TracChangeset for help on using the changeset viewer.