summaryrefslogtreecommitdiffstats
path: root/readconf.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-11-27 17:07:08 +0100
committerDamien Miller <djm@mindrot.org>2024-11-27 17:09:01 +0100
commit8eabd2ae2ca1d7756417a1ee5b41f09c5d997634 (patch)
tree59e85e1954fb9b9d13275a73f94cf75242582211 /readconf.c
parentupstream: new name/link for agent I-D (diff)
downloadopenssh-8eabd2ae2ca1d7756417a1ee5b41f09c5d997634.tar.xz
openssh-8eabd2ae2ca1d7756417a1ee5b41f09c5d997634.zip
upstream: fix argument of "Compression" directive in ssh -G config
dump, which used to work but broke in 9.8 OpenBSD-Commit-ID: c79936242d29c70d01941b28d2d07fd0b85fe46f
Diffstat (limited to '')
-rw-r--r--readconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c
index 9f5592698..777739d6a 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.392 2024/09/26 23:55:08 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.393 2024/11/27 16:07:08 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3410,6 +3410,8 @@ fmt_intarg(OpCodes code, int val)
switch (code) {
case oAddressFamily:
return fmt_multistate_int(val, multistate_addressfamily);
+ case oCompression:
+ return fmt_multistate_int(val, multistate_compression);
case oVerifyHostKeyDNS:
case oUpdateHostkeys:
return fmt_multistate_int(val, multistate_yesnoask);