aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-03-04 12:50:28 +0000
committerKristof Provost <kp@FreeBSD.org>2021-03-20 14:45:48 +0000
commit305b1903c8f44157fa5512f428b737c99015d880 (patch)
tree2bc958032fc2e1e673e99e9a0a4c924d516d3719
parent0f51ceaad1bad4f108a4bebe56bea034b7bdbe6b (diff)
downloadsrc-305b1903c8f44157fa5512f428b737c99015d880.tar.gz
src-305b1903c8f44157fa5512f428b737c99015d880.zip
pfctl: Add missing 'va' code point name
Add the 'va' (voice-admit, RFC5865) symbolic name. Reviewed by: rgrimes, gbe (man page) MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D29069 (cherry picked from commit b4e3f3c2de6e6dc614f99615e50d0d87f3367ca0)
-rw-r--r--sbin/pfctl/parse.y3
-rw-r--r--share/man/man5/pf.conf.52
2 files changed, 4 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 1182dde3b079..9db85538feaf 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -6342,7 +6342,8 @@ map_tos(char *s, int *val)
{ "lowdelay", IPTOS_LOWDELAY },
{ "netcontrol", IPTOS_PREC_NETCONTROL },
{ "reliability", IPTOS_RELIABILITY },
- { "throughput", IPTOS_THROUGHPUT }
+ { "throughput", IPTOS_THROUGHPUT },
+ { "va", IPTOS_DSCP_VA }
};
const struct keywords *p;
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 8846199deccb..d31d20e29bea 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -681,6 +681,7 @@ given as one of
.Ar reliability ,
or one of the DiffServ Code Points:
.Ar ef ,
+.Ar va ,
.Ar af11 No ... Ar af43 ,
.Ar cs0 No ... Ar cs7 ;
or as either hex or decimal.
@@ -1737,6 +1738,7 @@ given as one of
.Ar reliability ,
or one of the DiffServ Code Points:
.Ar ef ,
+.Ar va ,
.Ar af11 No ... Ar af43 ,
.Ar cs0 No ... Ar cs7 ;
or as either hex or decimal.