When using multiple "USB to LAN" interfaces with name such as "USB 10/100/1000 LAN (enX)" the method get_current_servicedoes not detect the "Hardware Port" (aka service name) correctly.
Also changed the while loop so that the currentservice global variable can be defined properly.
When using multiple "USB to LAN" interfaces with name such as "USB 10/100/1000 LAN (enX)" the method
get_current_service
does not detect the "Hardware Port" (aka service name) correctly.Also changed the while loop so that the
currentservice
global variable can be defined properly.