sshdump: fix some debug messages.
Change-Id: I92d157367efc36d4c1d1a53a201ed652d701894e Reviewed-on: https://code.wireshark.org/review/30556 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
f2a9cfcf24
commit
5d73f57f54
|
@ -198,20 +198,20 @@ static int ssh_open_remote_connection(const char* hostname, const unsigned int p
|
|||
sshs = create_ssh_connection(hostname, port, username, password, sshkey, sshkey_passphrase, proxycommand, &err_info);
|
||||
|
||||
if (!sshs) {
|
||||
g_warning("Error creating connection: %s", err_info);
|
||||
g_warning("Error creating connection.");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
channel = run_ssh_command(sshs, capture_command, use_sudo, noprom, iface, cfilter, count);
|
||||
|
||||
if (!channel) {
|
||||
g_warning("Can't run ssh command");
|
||||
g_warning("Can't run ssh command.");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* read from channel and write into fp */
|
||||
if (ssh_loop_read(channel, fp) != EXIT_SUCCESS) {
|
||||
g_warning("Error in read loop");
|
||||
g_warning("Error in read loop.");
|
||||
ret = EXIT_FAILURE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue