From 5b29f574649e401c8cd9aaadc376fabdcd61396d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 6 Jun 2016 10:39:43 +0200 Subject: [PATCH] Fix build with upnp. --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 12f9b87cc..b1bd4d612 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -5222,7 +5222,7 @@ void linphone_core_set_firewall_policy(LinphoneCore *lc, LinphoneFirewallPolicy break; case LinphonePolicyUseUpnp: #ifdef BUILD_UPNP - linphone_nat_policy_enable_upnp(nat_policy); + linphone_nat_policy_enable_upnp(nat_policy, TRUE); #else ms_warning("UPNP is not available, reset firewall policy to no firewall"); #endif //BUILD_UPNP