git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8efc095
)
swrap: Add a trace message for swrap_socket().
author
Andreas Schneider
<asn@samba.org>
Thu, 2 Oct 2014 05:24:55 +0000
(07:24 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 2 Oct 2014 07:35:11 +0000
(09:35 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/socket_wrapper/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/socket_wrapper/socket_wrapper.c
b/lib/socket_wrapper/socket_wrapper.c
index 8a7b57243fcbe0e5093af110246568b78bc7d14a..6a495b95029ddd0211ce2af4417adca6ea4aafd0 100644
(file)
--- a/
lib/socket_wrapper/socket_wrapper.c
+++ b/
lib/socket_wrapper/socket_wrapper.c
@@
-2430,6
+2430,11
@@
static int swrap_socket(int family, int type, int protocol)
SWRAP_DLIST_ADD(si->fds, fi);
SWRAP_DLIST_ADD(sockets, si);
+ SWRAP_LOG(SWRAP_LOG_TRACE,
+ "Created %s socket for protocol %s",
+ si->family == AF_INET ? "IPv4" : "IPv6",
+ si->type == SOCK_DGRAM ? "UDP" : "TCP");
+
return fd;
}