mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
add some more stuff to sho
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9134 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+3
-2
@@ -701,13 +701,14 @@ SWITCH_DECLARE(switch_status_t) switch_find_local_ip(char *buf, int len, int fam
|
||||
return status;
|
||||
}
|
||||
|
||||
switch_copy_string(buf, "127.0.0.1", len);
|
||||
|
||||
|
||||
switch (family) {
|
||||
case AF_INET:
|
||||
switch_copy_string(buf, "127.0.0.1", len);
|
||||
base = "82.45.148.209";
|
||||
break;
|
||||
case AF_INET6:
|
||||
switch_copy_string(buf, "::1", len);
|
||||
base = "2001:503:BA3E::2:30"; // DNS Root server A
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user