mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-03 15:23:39 -07:00
Cleanup
This commit is contained in:
@@ -55,7 +55,7 @@ class BackboneInterface(Interface):
|
||||
|
||||
@staticmethod
|
||||
def get_address_for_if(name, bind_port, prefer_ipv6=False):
|
||||
from RNS.vendor import netinfo
|
||||
from RNS.Interfaces import netinfo
|
||||
ifaddr = netinfo.ifaddresses(name)
|
||||
if len(ifaddr) < 1:
|
||||
raise SystemError(f"No addresses available on specified kernel interface \"{name}\" for BackboneInterface to bind to")
|
||||
|
||||
Reference in New Issue
Block a user