mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core.
This commit is contained in:
1 parent
5510618660
commit
00b53a91ea
18 files changed
+102
-93
No files matched your search
@@ -155,7 +155,7 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
|
||||
char *uri = NULL;
|
||||
char *dynamic_url = NULL;
|
||||
|
||||
gethostname(hostname, sizeof(hostname));
|
||||
strncpy(hostname, switch_core_get_switchname(), sizeof(hostname));
|
||||
|
||||
if (!binding) {
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user