[Freeswitch-trunk] [commit] r13655 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Jun 5 14:04:37 PDT 2009
Author: anthm
Date: Fri Jun 5 16:04:37 2009
New Revision: 13655
Log:
picky compilers
Modified:
freeswitch/trunk/src/switch_core.c
Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c (original)
+++ freeswitch/trunk/src/switch_core.c Fri Jun 5 16:04:37 2009
@@ -104,11 +104,11 @@
switch_set_string(main_ip4, guess_ip4);
} else {
if (!(ok4 = !strcmp(main_ip4, guess_ip4))) {
-
+ struct in_addr in = { mask };
switch_set_string(old_ip4, main_ip4);
switch_set_string(main_ip4, guess_ip4);
switch_core_set_variable("local_ip_v4", guess_ip4);
- switch_core_set_variable("local_mask_v4", inet_ntoa(mask));
+ switch_core_set_variable("local_mask_v4", inet_ntoa(in));
}
}
More information about the Freeswitch-trunk
mailing list