mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 01:34:13 +00:00
fix switch_get_addr to work with v6 properly
This commit is contained in:
1 parent
86fcc2c04c
commit
f1430d521a
3 files changed
+19
-2
No files matched your search
@@ -197,6 +197,7 @@ SWITCH_DECLARE(switch_status_t) switch_find_local_ip(_Out_opt_bytecapcount_(len)
|
||||
\return the ip adress string
|
||||
*/
|
||||
SWITCH_DECLARE(char *) get_addr(char *buf, switch_size_t len, struct sockaddr *sa, socklen_t salen);
|
||||
SWITCH_DECLARE(char *) get_addr6(char *buf, switch_size_t len, struct sockaddr_in6 *sa, socklen_t salen);
|
||||
|
||||
SWITCH_DECLARE(int) get_addr_int(switch_sockaddr_t *sa);
|
||||
SWITCH_DECLARE(int) switch_cmp_addr(switch_sockaddr_t *sa1, switch_sockaddr_t *sa2);
|
||||
|
||||
Reference in new issue
Block a user