summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-05-20 12:58:09 +0200
committerGitHub <noreply@github.com>2025-05-20 12:58:09 +0200
commit5b37bfafab6dc43bc224684e98765975b2d25d9a (patch)
tree2a027e28bac2f06541f9f19cd2725efb11297a82
parent0801bc6c2dd155f40fd22c64f873a01e8be25c9f (diff)
parent81c58d55641c4355cad63ab57b8019c474e3d290 (diff)
downloadvyos-1x-5b37bfafab6dc43bc224684e98765975b2d25d9a.tar.gz
vyos-1x-5b37bfafab6dc43bc224684e98765975b2d25d9a.zip
Merge pull request #4517 from dmbaturin/T7466-bonding-mode-regex-fix
bonding: T7466: fix the 802.3ad regex
-rw-r--r--interface-definitions/interfaces_bonding.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces_bonding.xml.in b/interface-definitions/interfaces_bonding.xml.in
index cdacae2d0..9945fc15d 100644
--- a/interface-definitions/interfaces_bonding.xml.in
+++ b/interface-definitions/interfaces_bonding.xml.in
@@ -240,7 +240,7 @@
<description>Distribute based on MAC address</description>
</valueHelp>
<constraint>
- <regex>(802.3ad|active-backup|broadcast|round-robin|transmit-load-balance|adaptive-load-balance|xor-hash)</regex>
+ <regex>(802\.3ad|active-backup|broadcast|round-robin|transmit-load-balance|adaptive-load-balance|xor-hash)</regex>
</constraint>
<constraintErrorMessage>mode must be 802.3ad, active-backup, broadcast, round-robin, transmit-load-balance, adaptive-load-balance, or xor</constraintErrorMessage>
</properties>