Changeset 1540:407e0a889c7e in freeDiameter for libfdcore/p_cnx.c
- Timestamp:
- May 1, 2020, 5:20:33 PM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/p_cnx.c
r1203 r1540 262 262 switch (nc->proto) { 263 263 case IPPROTO_TCP: 264 /* TODO: use no_bind and first of cnf_endpoints of nc->ss.sa_family ? */ 264 265 cnx = fd_cnx_cli_connect_tcp((sSA *)&nc->ss, sSAlen(&nc->ss)); 265 266 break; … … 267 268 case IPPROTO_SCTP: 268 269 cnx = fd_cnx_cli_connect_sctp((peer->p_hdr.info.config.pic_flags.pro3 == PI_P3_IP) ? 1 : fd_g_config->cnf_flags.no_ip6, 269 nc->port, &peer->p_hdr.info.pi_endpoints); 270 nc->port, &peer->p_hdr.info.pi_endpoints, 271 fd_g_config->cnf_flags.no_bind ? NULL : &fd_g_config->cnf_endpoints); 270 272 break; 271 273 #endif /* DISABLE_SCTP */
Note: See TracChangeset
for help on using the changeset viewer.