mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-23 06:51:08 -04:00
Use internal netinfo implementation
This commit is contained in:
parent
d34cefe31d
commit
8e4b0b3b16
4 changed files with 6 additions and 6 deletions
|
@ -102,9 +102,9 @@ 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.ifaddr import niwrapper
|
||||
from RNS.vendor import netinfo
|
||||
super().__init__()
|
||||
self.netinfo = niwrapper
|
||||
self.netinfo = netinfo
|
||||
|
||||
self.HW_MTU = AutoInterface.HW_MTU
|
||||
self.IN = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue