[openssh-commits] [openssh] branch master updated: Fix IPTOS_DSCP_VA fallback

git+noreply at mindrot.org git+noreply at mindrot.org
Sun May 24 15:33:46 AEST 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new 42b213c66 Fix IPTOS_DSCP_VA fallback
42b213c66 is described below

commit 42b213c66ba143f543b824ea5951f1ceb3fdd15b
Author: Michael Forney <mforney at mforney.org>
AuthorDate: Fri May 22 03:02:00 2026 +1000

    Fix IPTOS_DSCP_VA fallback
    
    0x2c is the unshifted value, and was copied over from openbsd before
    it was fixed to be 0xb0 in [0].
    
    Source of discrepancy identified by Leah Neukirchen.
    
    [0] https://cvsweb.openbsd.org/log/src/sys/netinet/ip.h#rev1.22
---
 defines.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defines.h b/defines.h
index 1d5bc0498..54f0fc83f 100644
--- a/defines.h
+++ b/defines.h
@@ -95,7 +95,7 @@ enum
 # define	IPTOS_DSCP_CS7		0xe0
 #endif /* IPTOS_DSCP_CS0 */
 #ifndef IPTOS_DSCP_VA
-# define	IPTOS_DSCP_VA		0x2c
+# define	IPTOS_DSCP_VA		0xb0
 #endif /* IPTOS_DSCP_VA */
 #ifndef IPTOS_DSCP_EF
 # define	IPTOS_DSCP_EF		0xb8

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list