Skip to content

Commit

Permalink
Bugfix from @aburt2
Browse files Browse the repository at this point in the history
  • Loading branch information
malloch committed Oct 31, 2023
1 parent 16f693f commit cd6053d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def get_interfaces(arg):
addrs = netifaces.ifaddresses(i)
if location in addrs: # Test to see if the interface is actually connected
if 'win32' in sys.platform:
ifaceName = win32_get_name_from_guid(connectedInterfaces[i])
ifaceName = win32_get_name_from_guid(i)
if ifaceName != "":
connectedInterfaces.append(ifaceName)
else:
Expand Down

0 comments on commit cd6053d

Please sign in to comment.