Skip to content

Commit

Permalink
Fixed range vlans parsing on interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nepJIywa committed Nov 22, 2018
1 parent 656f001 commit 10d1e3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ def level_info(self):
if '-' in unit:
range_units = unit.split('-')
range_list = [i for i in range(int(range_units[0]), int(range_units[1]) + 1)]
vlan_add.remove(unit)
iface_dict['vlans'].extend(range_list)
else:
iface_dict['vlans'].append(int(unit))
Expand Down

0 comments on commit 10d1e3d

Please sign in to comment.