From 55eabc2cd892187288785236ea92cb10193e9454 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sat, 9 Jul 2022 15:41:58 -0700 Subject: [PATCH] undo as tests were not updated... --- vlanmang/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlanmang/__init__.py b/vlanmang/__init__.py index 76e3129..ded4a15 100644 --- a/vlanmang/__init__.py +++ b/vlanmang/__init__.py @@ -290,8 +290,9 @@ def checkchanges(module): switchuntagged = switch.getuntagged(*vlans) untagged = getuntagged(i.vlanconf, lufun) for i in vlans: - if not _cmpbits(switchegress[i], egress[i]) or not _cmpbits(switchuntagged[i], untagged[i]): + if not _cmpbits(switchegress[i], egress[i]): res.append((switch, name, 'setegress', i, egress[i], switchegress[i])) + if not _cmpbits(switchuntagged[i], untagged[i]): res.append((switch, name, 'setuntagged', i, untagged[i], switchuntagged[i])) return res