summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index dad249007..f18666786 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.211 2013/10/23 03:03:07 djm Exp $ */ 1/* $OpenBSD: readconf.c,v 1.212 2013/10/23 03:05:19 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -470,6 +470,7 @@ match_cfg_line(Options *options, char **condition, struct passwd *pw,
470 port = options->port <= 0 ? default_ssh_port() : options->port; 470 port = options->port <= 0 ? default_ssh_port() : options->port;
471 ruser = options->user == NULL ? pw->pw_name : options->user; 471 ruser = options->user == NULL ? pw->pw_name : options->user;
472 if (options->hostname != NULL) { 472 if (options->hostname != NULL) {
473 /* NB. Please keep in sync with ssh.c:main() */
473 host = percent_expand(options->hostname, 474 host = percent_expand(options->hostname,
474 "h", host_arg, (char *)NULL); 475 "h", host_arg, (char *)NULL);
475 } else 476 } else