diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 47a45b8a53..7a4f853d54 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3088,7 +3088,12 @@ static void readline_callback(void) goto again; } - cli_chkpath(cli, "\\"); + /* Ping the server to keep the connection alive using SMBecho. */ + { + unsigned char garbage[16]; + memset(garbage, 0xf0, sizeof(garbage)); + cli_echo(cli, garbage, sizeof(garbage)); + } } /**************************************************************************** |