The branch, v3-6-test has been updated
       via  b374345 s3: Print the IP of the server that stopped responding
      from  958fb53 s3: messaging_ctdbd_connection() was only called with 
procid_self()

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit b374345ef66393a391ca6019da78f7952a29c37e
Author: Volker Lendecke <[email protected]>
Date:   Wed Sep 1 12:55:18 2010 +0200

    s3: Print the IP of the server that stopped responding

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/clientgen.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index c530c14..11f4672 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -246,7 +246,11 @@ bool cli_receive_smb(struct cli_state *cli)
 
        /* If the server is not responding, note that now */
        if (len < 0) {
-                DEBUG(0, ("Receiving SMB: Server stopped responding\n"));
+               char addr[INET6_ADDRSTRLEN];
+
+               print_sockaddr(addr, sizeof(addr), &cli->dest_ss);
+                DEBUG(0, ("Receiving SMB: Server %s stopped responding\n",
+                         addr));
                close(cli->fd);
                cli->fd = -1;
                return false;


-- 
Samba Shared Repository

Reply via email to