mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-23 06:51:08 -04:00
Cleanup
This commit is contained in:
parent
c07e968218
commit
c83043b087
6 changed files with 6 additions and 6 deletions
|
@ -82,7 +82,6 @@ class AutoInterface(Interface):
|
|||
return ifas
|
||||
|
||||
def interface_name_to_index(self, ifname):
|
||||
|
||||
# socket.if_nametoindex doesn't work with uuid interface names on windows, it wants the ethernet_0 style
|
||||
# we will just get the index from netinfo instead as it seems to work
|
||||
if RNS.vendor.platformutils.is_windows():
|
||||
|
@ -102,7 +101,7 @@ class AutoInterface(Interface):
|
|||
ignored_interfaces = c.as_list("ignored_devices") if "ignored_devices" in c else None
|
||||
configured_bitrate = c["configured_bitrate"] if "configured_bitrate" in c else None
|
||||
|
||||
from RNS.vendor import netinfo
|
||||
from RNS.Interfaces import netinfo
|
||||
super().__init__()
|
||||
self.netinfo = netinfo
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue