]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: fix argument of "Compression" directive in ssh -G config
authordjm@openbsd.org <djm@openbsd.org>
Wed, 27 Nov 2024 16:07:08 +0000 (16:07 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 27 Nov 2024 16:09:01 +0000 (03:09 +1100)
dump, which used to work but broke in 9.8

OpenBSD-Commit-ID: c79936242d29c70d01941b28d2d07fd0b85fe46f

readconf.c

index 9f55926989ba7cda18a124abf3676195e474c18d..777739d6a8c44d9a8308db5ad87ee57dfad53ecb 100644 (file)
@@ -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);