mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
rpc: switch order of args in virNetClientNewSSH
Switch keyfile and netcat parameters, since the netcat path and socket path are a logical pair that belong together. This patches the other constructors. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
dfad1b551d
commit
6e4143c851
@ -1009,8 +1009,8 @@ doRemoteOpen(virConnectPtr conn,
|
||||
username,
|
||||
!tty,
|
||||
!verify,
|
||||
netcat,
|
||||
keyfile,
|
||||
netcat,
|
||||
sockname)))
|
||||
goto failed;
|
||||
|
||||
|
@ -444,8 +444,8 @@ virNetClientPtr virNetClientNewSSH(const char *nodename,
|
||||
const char *username,
|
||||
bool noTTY,
|
||||
bool noVerify,
|
||||
const char *netcatPath,
|
||||
const char *keyfile,
|
||||
const char *netcatPath,
|
||||
const char *socketPath)
|
||||
{
|
||||
virNetSocketPtr sock;
|
||||
|
@ -48,9 +48,9 @@ virNetClientPtr virNetClientNewSSH(const char *nodename,
|
||||
const char *username,
|
||||
bool noTTY,
|
||||
bool noVerify,
|
||||
const char *netcat,
|
||||
const char *keyfile,
|
||||
const char *path);
|
||||
const char *netcat,
|
||||
const char *socketPath);
|
||||
|
||||
virNetClientPtr virNetClientNewLibSSH2(const char *host,
|
||||
const char *port,
|
||||
|
Loading…
Reference in New Issue
Block a user