Changeset 229:965f5971dc23 in freeDiameter for freeDiameter/p_dp.c
- Timestamp:
- Mar 2, 2010, 3:55:26 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/p_dp.c
r129 r229 87 87 if (dictobj) { 88 88 CHECK_FCT( fd_dict_getval( dictobj, &er.search ) ); 89 fd_log_debug("Peer '%s' sent a DPR with cause: %s\n", peer->p_hdr.info.pi_diamid, er.search.enum_name);89 TRACE_DEBUG(INFO, "Peer '%s' sent a DPR with cause: %s\n", peer->p_hdr.info.pi_diamid, er.search.enum_name); 90 90 } else { 91 fd_log_debug("Peer '%s' sent a DPR with unknown cause: %u\n", peer->p_hdr.info.pi_diamid, peer->p_hdr.info.runtime.pir_lastDC);91 TRACE_DEBUG(INFO, "Peer '%s' sent a DPR with unknown cause: %u\n", peer->p_hdr.info.pi_diamid, peer->p_hdr.info.runtime.pir_lastDC); 92 92 } 93 93 } else { 94 fd_log_debug("Peer '%s' sent a DPR without Disconnect-Cause AVP\n", peer->p_hdr.info.pi_diamid);94 TRACE_DEBUG(INFO, "Peer '%s' sent a DPR without Disconnect-Cause AVP\n", peer->p_hdr.info.pi_diamid); 95 95 } 96 96 } … … 104 104 105 105 /* Now send the DPA */ 106 CHECK_FCT( fd_out_send( msg, NULL, peer ) );106 CHECK_FCT( fd_out_send( msg, NULL, peer, FD_CNX_ORDERED) ); 107 107 108 108 /* Move to CLOSED state */ … … 115 115 /* We received a DPA */ 116 116 if (peer->p_hdr.info.runtime.pir_state != STATE_CLOSING) { 117 TRACE_DEBUG(INFO, "Ignor eDPA received in state %s", STATE_STR(peer->p_hdr.info.runtime.pir_state));117 TRACE_DEBUG(INFO, "Ignoring DPA received in state %s", STATE_STR(peer->p_hdr.info.runtime.pir_state)); 118 118 } 119 119 … … 168 168 169 169 /* Now send the DPR message */ 170 CHECK_FCT_DO( fd_out_send(&msg, NULL, peer ), /* ignore since we are on timeout anyway */ );170 CHECK_FCT_DO( fd_out_send(&msg, NULL, peer, FD_CNX_ORDERED), /* ignore since we are on timeout anyway */ ); 171 171 172 172 return 0;
Note: See TracChangeset
for help on using the changeset viewer.