1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Fix if condition when propagating link_type (old flags check left over from my previous

commit)

Ticket: CM-4408
Reviewed By:
Testing Done: Tested with old bridge driver config (bug reported by
satish)
(cherry picked from commit 11e6ae96aae85591e8d32e1062d979e51de9e424)
This commit is contained in:
Roopa Prabhu
2014-12-09 12:56:45 -08:00
parent c416da6adc
commit 5be7399dc9

View File

@@ -363,7 +363,7 @@ class ifupdownMain(ifupdownBase):
for di in dilist:
di.inc_refcnt()
di.add_to_upperifaces(upperifaceobj.name)
if upperifaceobj.flags == ifaceLinkType.LINK_MASTER:
if upperifaceobj.link_type == ifaceLinkType.LINK_MASTER:
di.link_type = ifaceLinkType.LINK_SLAVE
for d in del_list: