diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-06-03 00:22:12 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-06-03 00:22:12 -0400 |
commit | 15588461bdf0edde8603286ed9784ac5dbb3f8b8 (patch) | |
tree | b5d806372e5a18e88c2453ddbdb3c556ffbd6307 | |
parent | 16522a9653ba21c795e570232e2085eaf6e1a0af (diff) | |
download | ucp-15588461bdf0edde8603286ed9784ac5dbb3f8b8.tar.gz ucp-15588461bdf0edde8603286ed9784ac5dbb3f8b8.zip |
force SSH into IPv4 (libudt can't do IPv6)
-rw-r--r-- | src/client.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.rs b/src/client.rs index 8697480..b7da71e 100644 --- a/src/client.rs +++ b/src/client.rs @@ -29,6 +29,7 @@ pub fn run_client(host: &str, local_file: &str, remote_file: &str, remote_is_dir let mut ssh_cmd = Command::new("ssh"); ssh_cmd.arg(host) + .arg("-4") .arg("--") .arg("ucp") .arg("server") |