[PATCH] Fix IPTOS_DSCP_VA fallback
Michael Forney
mforney at mforney.org
Fri May 22 03:02:00 AEST 2026
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
--
2.54.0
More information about the openssh-unix-dev
mailing list