summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2023-01-13 02:58:20 +0000
committerDarren Tucker <dtucker@dtucker.net>2023-01-13 14:09:32 +1100
commit41f36dd896c8fb8337d403fcf476762986976e9d (patch)
treeeeb3a61acba14b92f542d98ab864f238adb9b0e5 /readconf.h
parentf673b49f3be3eb51074fbb8a405beb6cd0f7d93e (diff)
downloadopenssh-git-41f36dd896c8fb8337d403fcf476762986976e9d.tar.gz
upstream: Add a "Host" line to the output of ssh -G showing the
original host arg. Inspired by patch from vincent at bernat.ch via bz#3343, ok djm@ OpenBSD-Commit-ID: 59c0f60a222113a44d0650cd394376e3beecc883
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h
index 5c19a120..2ce1b4c3 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.h,v 1.149 2022/11/28 01:37:36 djm Exp $ */
+/* $OpenBSD: readconf.h,v 1.150 2023/01/13 02:58:20 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -28,6 +28,7 @@ struct allowed_cname {
};
typedef struct {
+ char *host_arg; /* Host arg as specified on command line. */
int forward_agent; /* Forward authentication agent. */
char *forward_agent_sock_path; /* Optional path of the agent. */
int forward_x11; /* Forward X11 display. */