comparison libfdcore/config.c @ 1326:afe0ecdb0692

Add config option if Route-Record AVPs should be added in Answers. Some software does not handle them correctly.
author Thomas Klausner <tk@giga.or.at>
date Mon, 27 Nov 2017 15:18:57 +0100
parents ab6457399be2
children 188c82b6690b
comparison
equal deleted inserted replaced
1325:ae81cd81ab09 1326:afe0ecdb0692
65 #ifdef DISABLE_SCTP 65 #ifdef DISABLE_SCTP
66 fd_g_config->cnf_flags.no_sctp = 1; 66 fd_g_config->cnf_flags.no_sctp = 1;
67 #endif /* DISABLE_SCTP */ 67 #endif /* DISABLE_SCTP */
68 68
69 fd_g_config->cnf_orstateid = (uint32_t) time(NULL); 69 fd_g_config->cnf_orstateid = (uint32_t) time(NULL);
70 fd_g_config->cnf_rr_in_answers = 1;
70 71
71 CHECK_FCT( fd_dict_init(&fd_g_config->cnf_dict) ); 72 CHECK_FCT( fd_dict_init(&fd_g_config->cnf_dict) );
72 CHECK_FCT( fd_fifo_new(&fd_g_config->cnf_main_ev, 0) ); 73 CHECK_FCT( fd_fifo_new(&fd_g_config->cnf_main_ev, 0) );
73 74
74 /* TLS parameters */ 75 /* TLS parameters */
"Welcome to our mercurial repository"