mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Fix check for bridge interface in scheduler during upperiface check
Ticket: CM-6525 Reviewed By: trivial Testing Done: Tested with failing config mentioned in the bug c4d27f53e965af5edc938acae25bcb249a2214a7 introduced a new interface kind of BRIDGE_VLAN_AWARE which broke the scheduler check. This patch fixes the check.
This commit is contained in:
@ -362,7 +362,7 @@ class ifaceScheduler():
|
||||
& ifupdownobj.NOCONFIG)
|
||||
if (((has_config and ifupdownobj.get_ifaceobjs_saved(u)) or
|
||||
not has_config) and (not ifupdownobj.link_exists(u)
|
||||
or uifaceobj.link_kind == ifaceLinkKind.BRIDGE)):
|
||||
or (uifaceobj.link_kind & ifaceLinkKind.BRIDGE))):
|
||||
nulist.append(u)
|
||||
upperifacenames.extend(nulist)
|
||||
allupperifacenames.extend(upperifacenames)
|
||||
|
Reference in New Issue
Block a user