mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* Using su_inet_ntop and su_inet_pton git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1f54e6ff6b
commit
9eda658a77
23 files changed
+87
-83
No files matched your search
@@ -134,13 +134,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if !defined(HAVE_WIN32)
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "sofia-sip/su.h"
|
||||
|
||||
#include "sofia-resolv/sres.h"
|
||||
@@ -803,7 +796,7 @@ print_addr_results(struct transport const *tports,
|
||||
if (answers[i]->sr_record->r_status != 0)
|
||||
continue;
|
||||
|
||||
inet_ntop(af, &answers[i]->sr_a->a_addr, addr, sizeof addr);
|
||||
su_inet_ntop(af, &answers[i]->sr_a->a_addr, addr, sizeof addr);
|
||||
|
||||
for (j = 0; tports[j].name; j++) {
|
||||
if (strcasecmp(tport, tports[j].name) == 0)
|
||||
|
||||
Reference in new issue
Block a user