bitbar-dnscrypt-proxy-switcher icon indicating copy to clipboard operation
bitbar-dnscrypt-proxy-switcher copied to clipboard

fix get_current_service function

Open arainho opened this issue 2 years ago • 0 comments

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.

arainho avatar Jan 05 '23 00:01 arainho