mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-07 22:42:41 -04:00
Interface compat notice
This commit is contained in:
parent
45e5c85868
commit
e28f44cfe5
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue