summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2009-10-28 16:38:18 +0000
committerreyk <reyk@openbsd.org>2009-10-28 16:38:18 +0000
commitafa9a4a42dc7f3d0c0e12739b327c68111cb0439 (patch)
tree6786f5300802f669865a6e260b8ba9ba0eca373f /usr.bin/ssh/ssh.c
parentsync (diff)
downloadwireguard-openbsd-afa9a4a42dc7f3d0c0e12739b327c68111cb0439.tar.xz
wireguard-openbsd-afa9a4a42dc7f3d0c0e12739b327c68111cb0439.zip
Allow to set the rdomain in ssh/sftp/scp/sshd and ssh-keyscan.
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 79a84de819f..80ac30d4558 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.327 2009/10/24 11:23:42 andreas Exp $ */
+/* $OpenBSD: ssh.c,v 1.328 2009/10/28 16:38:18 reyk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -617,6 +617,7 @@ main(int ac, char **av)
fill_default_options(&options);
channel_set_af(options.address_family);
+ channel_set_rdomain(options.rdomain);
/* reinit */
log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog);