mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-17 05:21:35 +00:00
FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload
This commit is contained in:
parent
bbcd4a86d1
commit
9423953e02
@ -1694,14 +1694,15 @@ static switch_status_t load_config(int reload_type)
|
|||||||
switch_sleep(100000);
|
switch_sleep(100000);
|
||||||
WARNINGA("STARTED interface_id=%u\n", GSMOPEN_P_LOG, interface_id);
|
WARNINGA("STARTED interface_id=%u\n", GSMOPEN_P_LOG, interface_id);
|
||||||
|
|
||||||
|
/* How many real intterfaces */
|
||||||
|
globals.real_interfaces++;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for (i = 0; i < GSMOPEN_MAX_INTERFACES; i++) {
|
for (i = 0; i < GSMOPEN_MAX_INTERFACES; i++) {
|
||||||
if (strlen(globals.GSMOPEN_INTERFACES[i].name)) {
|
if (strlen(globals.GSMOPEN_INTERFACES[i].name)) {
|
||||||
/* How many real intterfaces */
|
|
||||||
globals.real_interfaces++;
|
|
||||||
|
|
||||||
tech_pvt = &globals.GSMOPEN_INTERFACES[i];
|
tech_pvt = &globals.GSMOPEN_INTERFACES[i];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user