summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-10 15:15:53 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-10 13:21:59 +0000
commit82552e2abc77640b3a81560e3f8c5be2c21e3ad2 (patch)
tree9ef8b4136f90ea65cc4b50846798e28b6b028114 /python/vyos/ifconfig
parent05099eab245c265474f10ffb206ab23c494c8b88 (diff)
downloadvyos-1x-82552e2abc77640b3a81560e3f8c5be2c21e3ad2.tar.gz
vyos-1x-82552e2abc77640b3a81560e3f8c5be2c21e3ad2.zip
bond: T6303: system-mac is not allowed to be a multicast MAC address
(cherry picked from commit d8ddd7191d3004e886fa45a2cf9bd8dd5e7f5e14)
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r--python/vyos/ifconfig/bond.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/bond.py b/python/vyos/ifconfig/bond.py
index b381ba0e1..f26426915 100644
--- a/python/vyos/ifconfig/bond.py
+++ b/python/vyos/ifconfig/bond.py
@@ -56,7 +56,7 @@ class BondIf(Interface):
'location': '/sys/class/net/{ifname}/bonding/lacp_rate',
},
'bond_system_mac': {
- 'validate': assert_mac,
+ 'validate': lambda v: assert_mac(v, test_all_zero=False),
'location': '/sys/class/net/{ifname}/bonding/ad_actor_system',
},
'bond_miimon': {