summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2024-11-27 16:07:09 +0000
committerDamien Miller <djm@cvs.openbsd.org>2024-11-27 16:07:09 +0000
commitfbfb269651e5af2acbef74107a8206dcc6760bb7 (patch)
tree92976ec4062aedeee38d4f118438b76baafacbed
parent45c2f26df15ce07055f900640f23a5c817ba1c38 (diff)
fix argument of "Compression" directive in ssh -G config dump,
which used to work but broke in 9.8
-rw-r--r--usr.bin/ssh/readconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index 48716af2ff0..22d8b73b11e 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/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
@@ -3380,6 +3380,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);