Mercurial > hg > freeDiameter-dtls
comparison libfdcore/p_psm.c @ 1181:22de21feec64
Preparing for DTLS support
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Wed, 05 Jun 2013 19:22:26 +0800 |
parents | c473581adff2 |
children | 56c36d1007b4 |
comparison
equal
deleted
inserted
replaced
1180:773498f59520 | 1181:22de21feec64 |
---|---|
782 peer->p_ini_thr = (pthread_t)NULL; | 782 peer->p_ini_thr = (pthread_t)NULL; |
783 | 783 |
784 switch (cur_state) { | 784 switch (cur_state) { |
785 case STATE_WAITCNXACK_ELEC: | 785 case STATE_WAITCNXACK_ELEC: |
786 case STATE_WAITCNXACK: | 786 case STATE_WAITCNXACK: |
787 LOG_D("%s: Connection established", peer->p_hdr.info.pi_diamid); | 787 LOG_D("%s: Connection established, %s", peer->p_hdr.info.pi_diamid, fd_cnx_getid(cnx)); |
788 fd_p_ce_handle_newcnx(peer, cnx); | 788 fd_p_ce_handle_newcnx(peer, cnx); |
789 break; | 789 break; |
790 | 790 |
791 default: | 791 default: |
792 /* Just abort the attempt and continue */ | 792 /* Just abort the attempt and continue */ |