diff options
| author | l0crian1 <ryan.claridge13@gmail.com> | 2025-05-01 09:03:06 -0400 |
|---|---|---|
| committer | l0crian1 <ryan.claridge13@gmail.com> | 2025-05-01 09:03:06 -0400 |
| commit | 0e58ab45a6e1db0495cf7c66e66b89220d0d6069 (patch) | |
| tree | 7087a88f371be0467ade5d8e51e0d87190e98d53 | |
| parent | 41109339e1cf25d322981da3505340926dbb0512 (diff) | |
| download | vyos-1x-0e58ab45a6e1db0495cf7c66e66b89220d0d6069.tar.gz vyos-1x-0e58ab45a6e1db0495cf7c66e66b89220d0d6069.zip | |
QoS: T7415: Fix tcp flags matching
Empty leaf nodes are cleaned, causing the tcp
ack and syn flags to not match. These flags were moved
to values of the tcp leafNode
| -rw-r--r-- | interface-definitions/include/qos/tcp-flags.xml.i | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/interface-definitions/include/qos/tcp-flags.xml.i b/interface-definitions/include/qos/tcp-flags.xml.i index 81d70d1f3..b439e837a 100644 --- a/interface-definitions/include/qos/tcp-flags.xml.i +++ b/interface-definitions/include/qos/tcp-flags.xml.i @@ -1,21 +1,21 @@ <!-- include start from qos/tcp-flags.xml.i --> -<node name="tcp"> +<leafNode name="tcp"> <properties> <help>TCP Flags matching</help> + <completionHelp> + <list>ack syn</list> + </completionHelp> + <valueHelp> + <format>ack</format> + <description>Match TCP ACK</description> + </valueHelp> + <valueHelp> + <format>syn</format> + <description>Match TCP SYN</description> + </valueHelp> + <constraint> + <regex>(ack|syn)</regex> + </constraint> </properties> - <children> - <leafNode name="ack"> - <properties> - <help>Match TCP ACK</help> - <valueless/> - </properties> - </leafNode> - <leafNode name="syn"> - <properties> - <help>Match TCP SYN</help> - <valueless/> - </properties> - </leafNode> - </children> -</node> +</leafNode> <!-- include end --> |
