summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authordtucker <dtucker>2010-01-08 05:54:59 +0000
committerdtucker <dtucker>2010-01-08 05:54:59 +0000
commita6cf0ddbce8d7dbc128e5481689b263ab30f1d2c (patch)
treefa4c9a86a38cc11b3b5d3b923d8eb2bee6c482bf /ssh.c
parent4f0261e43fc24a4afe80408c1b76bddc1e76ff0b (diff)
downloadopenssh-a6cf0ddbce8d7dbc128e5481689b263ab30f1d2c.tar.gz
- andreas@cvs.openbsd.org 2009/10/24 11:23:42
[ssh.c] Request roaming to be enabled if UseRoaming is true and the server supports it. ok markus@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index adfe60e4..5353e235 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.326 2009/07/02 02:11:47 dtucker Exp $ */
+/* $OpenBSD: ssh.c,v 1.327 2009/10/24 11:23:42 andreas Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -100,6 +100,7 @@
#include "match.h"
#include "msg.h"
#include "uidswap.h"
+#include "roaming.h"
#include "version.h"
#ifdef SMARTCARD
@@ -1222,6 +1223,9 @@ ssh_session2(void)
fatal("daemon() failed: %.200s", strerror(errno));
}
+ if (options.use_roaming)
+ request_roaming();
+
return client_loop(tty_flag, tty_flag ?
options.escape_char : SSH_ESCAPECHAR_NONE, id);
}