]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: make IPQoS first-match-wins in sshd_config as it's
authordjm@openbsd.org <djm@openbsd.org>
Tue, 17 Feb 2026 21:45:07 +0000 (21:45 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 17 Feb 2026 21:46:29 +0000 (08:46 +1100)
intended to be bz3924

OpenBSD-Commit-ID: 42753eb8400ab09713c69ace6fa8bfdde133f942

servconf.c

index a43995fdd83566c2554b9f69699395420692e3ff..14f0cabad6049c1f5fef51841c76bce29603561d 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.c,v 1.444 2026/02/11 22:57:16 djm Exp $ */
+/* $OpenBSD: servconf.c,v 1.445 2026/02/17 21:45:07 djm Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
@@ -2559,7 +2559,7 @@ process_server_config_line_depth(ServerOptions *options, char *line,
                            " using DSCP values.", filename, linenum, arg);
                        value2 = INT_MAX;
                }
-               if (*activep) {
+               if (*activep && options->ip_qos_interactive == -1) {
                        options->ip_qos_interactive = value;
                        options->ip_qos_bulk = value2;
                }