summaryrefslogtreecommitdiff
path: root/src/net_unix/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net_unix/udp.c')
-rw-r--r--src/net_unix/udp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net_unix/udp.c b/src/net_unix/udp.c
index 79df4b0..13cb916 100644
--- a/src/net_unix/udp.c
+++ b/src/net_unix/udp.c
@@ -249,10 +249,11 @@ void getSockUdpIp(sock_udp_t *p, char *str_ip, int len)
assert( p != NULL );
assert( str_ip != NULL );
- //strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
if( p->proto == PROTO_UDPv4 )
{
+ //strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));
+ //printf("strcpy(str_ip, inet_ntoa(p->sockAddr.sin_addr));\n");
inet_ntop(AF_INET, &(p->sockAddr.sin_addr), str_ip, len);
}