mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
Merge pull request #54 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-6820-mod_gsmopen-executing-gsm-reload to master
* commit '9423953e028f8dd319a790ba1e5fdca37ff0cb2f': FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload
This commit is contained in:
commit
9e3a375c36
@ -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