Changeset 897:d8d0772586ad in freeDiameter
- Timestamp:
- Dec 1, 2012, 7:14:34 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdproto.h
r895 r897 79 79 #include <libgen.h> /* for basename if --dbg_file is specified */ 80 80 #endif /* DEBUG */ 81 82 83 /*============================================================*/ 84 /* CONSTANTS */ 85 /*============================================================*/ 86 87 #define DIAMETER_PORT 3868 88 #define DIAMETER_SECURE_PORT 3869 89 81 90 82 91 /*============================================================*/ -
libfdcore/config.c
r820 r897 56 56 fd_g_config->cnf_timer_tw = 30; 57 57 58 fd_g_config->cnf_port = 3868;59 fd_g_config->cnf_port_tls = 3869;58 fd_g_config->cnf_port = DIAMETER_PORT; 59 fd_g_config->cnf_port_tls = DIAMETER_SECURE_PORT; 60 60 fd_g_config->cnf_sctp_str = 30; 61 61 fd_g_config->cnf_dispthr = 4; -
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.