mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Update random port preference in lpconfig
This commit is contained in:
parent
4c4db8e018
commit
59db8330f2
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
int port_preference = [self integerForKey:@"port_preference"];
|
||||
|
||||
BOOL random_port_preference = [self boolForKey:@"random_port_preference"];
|
||||
lp_config_set_int(conf, LINPHONERC_APPLICATION_KEY, "random_port_preference", random_port_preference);
|
||||
if(random_port_preference) {
|
||||
port_preference = -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue