From e28f44cfe5936218a6c19cdd54547cea145845b1 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 3 Apr 2025 17:43:24 +0200 Subject: [PATCH] Interface compat notice --- RNS/Interfaces/BackboneInterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RNS/Interfaces/BackboneInterface.py b/RNS/Interfaces/BackboneInterface.py index 4259dc8..ab106c4 100644 --- a/RNS/Interfaces/BackboneInterface.py +++ b/RNS/Interfaces/BackboneInterface.py @@ -96,6 +96,9 @@ class BackboneInterface(Interface): return len(self.spawned_interfaces) 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__() c = Interface.get_config_obj(configuration)