aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2025-12-29 09:52:39 +0000
committerKristof Provost <kp@FreeBSD.org>2025-12-30 13:16:52 +0000
commit190c1f3d9326afbc1eabd48e5cb3fe96043508c9 (patch)
tree6db996ca9b5188ffc49410a21d844e3af6a52e68
parentbcd9ea853b14c85a61eb9079c59e966eed336578 (diff)
pfctl: allow network programs select DSCP_VA for network ToS
OK stsp@ Obtained from: OpenBSD, phessler <phessler@openbsd.org>, f8a2f73b65 Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sbin/pfctl/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 127e2c257d69..c52eb3f86c60 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -7604,6 +7604,7 @@ map_tos(char *s, int *val)
{ "cs6", IPTOS_DSCP_CS6 },
{ "cs7", IPTOS_DSCP_CS7 },
{ "ef", IPTOS_DSCP_EF },
+ { "va", IPTOS_DSCP_VA },
{ "inetcontrol", IPTOS_PREC_INTERNETCONTROL },
{ "lowdelay", IPTOS_LOWDELAY },
{ "netcontrol", IPTOS_PREC_NETCONTROL },