diff options
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 93f02785b9c..91e3581c30e 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -1985,6 +1985,9 @@ int read_udp_socket(int fd,char *buf,int len) lastip = *(struct in_addr *) &sock.sa_data[2]; lastport = ntohs(((struct sockaddr_in *)&sock)->sin_port); + DEBUG(10,("read_udp_socket: lastip %s lastport %d read: %d\n", + inet_ntoa(lastip), lastport, ret)); + return(ret); } |