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:
Anthony Minessale
2008-07-22 17:19:26 +00:00
parent 83592d1dda
commit 3d486a3445
5 changed files with 46 additions and 9 deletions
+3 -2
View File
@@ -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: