From c1e44bcb65220033e2ad12c15ce63aee12bec35c Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 28 Dec 2024 19:06:44 +0100 Subject: [PATCH] Firewall: Automation: Filter - add match prio for https://github.com/opnsense/core/issues/8143 --- .../OPNsense/Firewall/forms/dialogFilterRule.xml | 8 +++++++- .../mvc/app/models/OPNsense/Firewall/Filter.xml | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml b/src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml index 8547513a5b..a9a0802fba 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogFilterRule.xml @@ -242,9 +242,15 @@ header - + true + + rule.prio + + dropdown + Only match packets which have the given queueing priority assigned. + rule.set-prio diff --git a/src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml b/src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml index b68b77c20f..a3726ab09f 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml +++ b/src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml @@ -164,6 +164,19 @@ 0 + + Any priority + + Background (1, lowest) + Best Effort (0, default) + Excellent Effort (2) + Critical Applications (3) + Video (4) + Voice (5) + Internetwork Control (6) + Network Control (7, highest) + + Keep current priority