From 15588461bdf0edde8603286ed9784ac5dbb3f8b8 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 3 Jun 2016 00:22:12 -0400 Subject: force SSH into IPv4 (libudt can't do IPv6) --- src/client.rs | 1 + 1 file changed, 1 insertion(+) 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") -- cgit v1.2.3