Mercurial > hg > freeDiameter
diff freeDiameter/p_cnx.c @ 78:a58f0757c06a
Added code for DPR/DPA
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 01 Dec 2009 16:24:06 +0900 |
parents | 65b32c93f21e |
children | abd3c441780b |
line wrap: on
line diff
--- a/freeDiameter/p_cnx.c Tue Dec 01 14:30:29 2009 +0900 +++ b/freeDiameter/p_cnx.c Tue Dec 01 16:24:06 2009 +0900 @@ -87,7 +87,7 @@ ret = getaddrinfo(peer->p_hdr.info.pi_diamid, NULL, &hints, &ai); if (ret) { fd_log_debug("Unable to resolve address for peer '%s' (%s), aborting\n", peer->p_hdr.info.pi_diamid, gai_strerror(ret)); - fd_psm_terminate( peer ); + fd_psm_terminate( peer, NULL ); return 0; } @@ -109,7 +109,7 @@ /* Now check we have at least one address to attempt */ if (FD_IS_LIST_EMPTY(&peer->p_hdr.info.pi_endpoints)) { fd_log_debug("No address %savailable to connect to peer '%s', aborting\n", peer->p_hdr.info.config.pic_flags.pro3 ? "in the configured family " : "", peer->p_hdr.info.pi_diamid); - fd_psm_terminate( peer ); + fd_psm_terminate( peer, NULL ); return 0; }