- djm@cvs.openbsd.org 2013/10/23 03:05:19
[readconf.c ssh.c]
comment
diff --git a/readconf.c b/readconf.c
index dad2490..f186667 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.211 2013/10/23 03:03:07 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.212 2013/10/23 03:05:19 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -470,6 +470,7 @@
port = options->port <= 0 ? default_ssh_port() : options->port;
ruser = options->user == NULL ? pw->pw_name : options->user;
if (options->hostname != NULL) {
+ /* NB. Please keep in sync with ssh.c:main() */
host = percent_expand(options->hostname,
"h", host_arg, (char *)NULL);
} else