# HG changeset patch # User Sebastien Decugis # Date 1370015151 -7200 # Node ID e8bf101264fa74ee60a440f41f907fd59fd3115d # Parent 7de036e9e8fd5eb12e0ecc42a51d0f1109c36024 Updated default secure port value according to RFC6733 diff -r 7de036e9e8fd -r e8bf101264fa include/freeDiameter/libfdcore.h --- a/include/freeDiameter/libfdcore.h Fri May 31 14:57:17 2013 +0200 +++ b/include/freeDiameter/libfdcore.h Fri May 31 17:45:51 2013 +0200 @@ -127,7 +127,7 @@ unsigned int cnf_timer_tw; /* The value in seconds of the default Tw timer */ uint16_t cnf_port; /* the local port for legacy Diameter (default: 3868) in host byte order */ - uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 3869) in host byte order */ + uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 5658) in host byte order */ uint16_t cnf_sctp_str; /* default max number of streams for SCTP associations (def: 30) */ struct fd_list cnf_endpoints; /* the local endpoints to bind the server to. list of struct fd_endpoint. default is empty (bind all). After servers are started, this is the actual list of endpoints including port information. */ struct fd_list cnf_apps; /* Applications locally supported (except relay, see flags). Use fd_disp_app_support to add one. list of struct fd_app. */ diff -r 7de036e9e8fd -r e8bf101264fa include/freeDiameter/libfdproto.h --- a/include/freeDiameter/libfdproto.h Fri May 31 14:57:17 2013 +0200 +++ b/include/freeDiameter/libfdproto.h Fri May 31 17:45:51 2013 +0200 @@ -109,7 +109,7 @@ /*============================================================*/ #define DIAMETER_PORT 3868 -#define DIAMETER_SECURE_PORT 3869 +#define DIAMETER_SECURE_PORT 5658 /*============================================================*/