Changeset 1120:c473581adff2 in freeDiameter for libfdcore/p_psm.c
- Timestamp:
- May 14, 2013, 1:32:28 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_psm.c
r1118 r1120 282 282 return 0; 283 283 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'", 285 285 STATE_STR(old), 286 286 STATE_STR(new_state), … … 500 500 501 501 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); 502 503 503 504 /* If the current state does not allow receiving messages, just drop it */ … … 557 558 558 559 /* 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); 560 561 561 562 /* Requeue to the global incoming queue */ … … 742 743 char * buf = NULL; 743 744 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"); 745 746 free(buf); 746 747 }
Note: See TracChangeset
for help on using the changeset viewer.