Skip to content
Snippets Groups Projects
Commit b43b5401 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Increase interface number by nren/isp combo

parent 9ebee3b3
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ def get_panel_data(interfaces):
count = {}
def add_num(iface):
name = iface['nren'] + iface['isp'] + iface['tag']
name = iface['nren'] + iface['isp']
count[name] = count.get(name, 0) + 1
iface['num'] = count[name]
return iface
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment