From 6faeff30af2cd2f61c4b076f5443ac19b7ae1318 Mon Sep 17 00:00:00 2001 From: Sam Tannous Date: Thu, 2 Jul 2015 17:14:24 -0400 Subject: [PATCH] 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. --- addons/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/bridge.py b/addons/bridge.py index 390262d..b98238a 100644 --- a/addons/bridge.py +++ b/addons/bridge.py @@ -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: