From 2c4bd476a6b72f869534936f66ae53f1373fd8fc Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 19 Sep 2017 14:37:48 +0200 Subject: [PATCH] disable gruu for tunnel testers --- tester/tunnel_tester.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tester/tunnel_tester.c b/tester/tunnel_tester.c index 37889b847..19cb9f5ed 100644 --- a/tester/tunnel_tester.c +++ b/tester/tunnel_tester.c @@ -58,7 +58,9 @@ static void call_with_tunnel_base(LinphoneTunnelMode tunnel_mode, bool_t with_si char tunnel_ip[64]; char *public_ip, *public_ip2=NULL; BC_ASSERT_FALSE(get_ip_from_hostname("tunnel.linphone.org",tunnel_ip,sizeof(tunnel_ip))); - + linphone_core_remove_supported_tag(pauline->lc,"gruu"); /*with gruu, we have no access to the "public IP from contact*/ + linphone_core_remove_supported_tag(marie->lc,"gruu"); + BC_ASSERT_TRUE(wait_for(pauline->lc,NULL,&pauline->stat.number_of_LinphoneRegistrationOk,1)); public_ip = get_public_contact_ip(pauline->lc); BC_ASSERT_STRING_NOT_EQUAL(public_ip, tunnel_ip);