mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
Also clear the STUN server username when cleaning a NAT policy.
This commit is contained in:
parent
ef52735633
commit
d25ee01e99
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue