diff 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
line wrap: on
line diff
--- a/libfdcore/config.c	Mon Nov 27 15:16:30 2017 +0100
+++ b/libfdcore/config.c	Mon Nov 27 15:18:57 2017 +0100
@@ -67,6 +67,7 @@
 	#endif /* DISABLE_SCTP */
 	
 	fd_g_config->cnf_orstateid = (uint32_t) time(NULL);
+	fd_g_config->cnf_rr_in_answers = 1;
 	
 	CHECK_FCT( fd_dict_init(&fd_g_config->cnf_dict) );
 	CHECK_FCT( fd_fifo_new(&fd_g_config->cnf_main_ev, 0) );
"Welcome to our mercurial repository"