mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: addressvirtual: stale mac address detection was missing vrr without ip
The stale mac verification code was only working for the following syntax: address-virtual MAC IP and not address-virtual MAC Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ ifupdown2 (3.2.1) unstable; urgency=medium
|
||||
* New: Attribute: "disable-ipv6" to control ipv6 on an interface
|
||||
* New: Policy: "default_loopback_scope" control loopback ip scope
|
||||
* Fix: keep link down after mac change if 'link-down yes' is specified
|
||||
* Fix: addressvirtual stale mac detection is missing vrr without ip
|
||||
|
||||
-- Julien Fortin <jfortin@nvidia.com> Thu, 04 May 2023 23:42:00 -0700
|
||||
|
||||
|
@ -242,7 +242,7 @@ class addressvirtual(AddonWithIpBlackList, moduleBase):
|
||||
continue
|
||||
for av in oldifaceobj.get_attr_value('address-virtual'):
|
||||
macip = av.split()
|
||||
if len(macip) < 2:
|
||||
if len(macip) < 1:
|
||||
self.logger.debug("%s: incorrect old address-virtual attrs '%s'"
|
||||
%(oldifaceobj.name, av))
|
||||
continue
|
||||
|
Reference in New Issue
Block a user