Commit d25ee01e authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Also clear the STUN server username when cleaning a NAT policy.

parent ef527356
......@@ -127,6 +127,7 @@ void linphone_nat_policy_clear(LinphoneNatPolicy *policy) {
linphone_nat_policy_enable_ice(policy, FALSE);
linphone_nat_policy_enable_upnp(policy, FALSE);
linphone_nat_policy_set_stun_server(policy, NULL);
linphone_nat_policy_set_stun_server_username(policy, NULL);
}
bool_t linphone_nat_policy_stun_enabled(const LinphoneNatPolicy *policy) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment