Skip to content

Commit

Permalink
VLAN Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yantisj committed Oct 30, 2016
1 parent 98e962b commit 9e48e43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nglib/query/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def get_vlans(dev, vrange=None):
nglib.ngtree.add_child_ngtree(vtree, vt)

vt['Description'] = vlan['desc']
vt['VID'] = vlan['vid']
if vlan['pcount']:
vt['Port Count'] = vlan['pcount']
if vlan['mcount']:
Expand Down

0 comments on commit 9e48e43

Please sign in to comment.