mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Running ifquery --running -a will truncate the pvid number to a single digit
Ticket: CM-6284 Reviewed By: roopa Testing Done: unit tested change Running ifquery --running -a will truncate the pvid number to a single digit for the bridge. This patch appendis the entire pvid instead of only the first character.
This commit is contained in:
@@ -1012,7 +1012,7 @@ class bridge(moduleBase):
|
||||
running_bridgeport_vids.append(' '.join(vids))
|
||||
pvids = running_vidinfo.get(bport, {}).get('pvid')
|
||||
if pvids:
|
||||
running_bridgeport_pvids.append(pvids[0])
|
||||
running_bridgeport_pvids.append(pvids)
|
||||
|
||||
bridge_vids = None
|
||||
if running_bridgeport_vids:
|
||||
|
Reference in New Issue
Block a user