Commit 0f901a04 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Cisco.IOS.get_interfaces. Fix empty upper vlans bank when use SNMP.

parent 37e44b8a
......@@ -336,7 +336,7 @@ class Script(BaseScript):
if int(enc_type) != 4:
# not dot1Q
vlans_bank = b"".join([vlans_base, vlans_2k, vlans_3k, vlans_4k])
vlans_bank = b"".join([vlans_base, vlans_2k or b"", vlans_3k or b"", vlans_4k or b""])
result[int(ifindex)]["tagged_vlans"] += list(
range(0, 4096),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment