Changeset 897:d8d0772586ad in freeDiameter for libfdcore/p_cnx.c
- Timestamp:
- Dec 1, 2012, 7:14:34 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_cnx.c
r765 r897 138 138 if ((peer->p_hdr.info.config.pic_flags.sec != PI_SEC_DEFAULT) || (fd_g_config->cnf_flags.tls_alg)) { 139 139 dotls_immediate = 0; 140 port_no = htons(peer->p_hdr.info.config.pic_port ?: fd_g_config->cnf_port);140 port_no = htons(peer->p_hdr.info.config.pic_port ?: DIAMETER_PORT); 141 141 } else { 142 142 dotls_immediate = 1; 143 port_no = htons(peer->p_hdr.info.config.pic_port ?: fd_g_config->cnf_port_tls);143 port_no = htons(peer->p_hdr.info.config.pic_port ?: DIAMETER_SECURE_PORT); 144 144 } 145 145
Note: See TracChangeset
for help on using the changeset viewer.