aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeun Soo Yim <yim@google.com>2016-01-20 02:06:04 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-01-20 02:06:04 +0000
commit9e6d3e1c5b29cec0e8412a5f72e5837463b75b43 (patch)
tree1891448e4916006295cf504d5e650cc83c1803ca
parentce6947cd40f25a57334cba5866b1e33065c643bb (diff)
parentab28f5495c85297e7a597c1ba62e996416da7c7e (diff)
downloadplatform_external_openssh-9e6d3e1c5b29cec0e8412a5f72e5837463b75b43.tar.gz
platform_external_openssh-9e6d3e1c5b29cec0e8412a5f72e5837463b75b43.tar.bz2
platform_external_openssh-9e6d3e1c5b29cec0e8412a5f72e5837463b75b43.zip
forcibly disable roaming support in the client
am: ab28f5495c * commit 'ab28f5495c85297e7a597c1ba62e996416da7c7e': forcibly disable roaming support in the client
-rw-r--r--readconf.c5
-rw-r--r--ssh.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/readconf.c b/readconf.c
index 42a2961f..ebbf2195 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1660,7 +1660,7 @@ initialize_options(Options * options)
options->tun_remote = -1;
options->local_command = NULL;
options->permit_local_command = -1;
- options->use_roaming = -1;
+ options->use_roaming = 0;
options->visual_host_key = -1;
options->ip_qos_interactive = -1;
options->ip_qos_bulk = -1;
@@ -1835,8 +1835,7 @@ fill_default_options(Options * options)
options->tun_remote = SSH_TUNID_ANY;
if (options->permit_local_command == -1)
options->permit_local_command = 0;
- if (options->use_roaming == -1)
- options->use_roaming = 1;
+ options->use_roaming = 0;
if (options->visual_host_key == -1)
options->visual_host_key = 0;
if (options->ip_qos_interactive == -1)
diff --git a/ssh.c b/ssh.c
index 0ad82f02..73854622 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1929,9 +1929,6 @@ ssh_session2(void)
fork_postauth();
}
- if (options.use_roaming)
- request_roaming();
-
return client_loop(tty_flag, tty_flag ?
options.escape_char : SSH_ESCAPECHAR_NONE, id);
}