mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-23 08:18:11 -07:00
Interface compat notice
This commit is contained in:
@@ -96,6 +96,9 @@ class BackboneInterface(Interface):
|
|||||||
return len(self.spawned_interfaces)
|
return len(self.spawned_interfaces)
|
||||||
|
|
||||||
def __init__(self, owner, configuration):
|
def __init__(self, owner, configuration):
|
||||||
|
if not RNS.vendor.platformutils.is_linux() and not RNS.vendor.platformutils.is_android():
|
||||||
|
raise OSError("BackboneInterface is only supported on Linux-based operating systems")
|
||||||
|
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
c = Interface.get_config_obj(configuration)
|
c = Interface.get_config_obj(configuration)
|
||||||
|
|||||||
Reference in New Issue
Block a user