Fix airspace hello

This commit is contained in:
Marek Wolan
2025-02-17 18:14:07 +00:00
parent 3651d033d6
commit de88974332

View File

@@ -449,10 +449,8 @@ class IPWirelessNetworkInterface(WirelessNetworkInterface, Layer3Interface, ABC)
`default_gateway_hello` method is not defined, ignoring such errors to proceed without interruption. `default_gateway_hello` method is not defined, ignoring such errors to proceed without interruption.
""" """
super().enable() super().enable()
try: if hasattr(self._connected_node, "default_gateway_hello"):
self._connected_node.default_gateway_hello() self._connected_node.default_gateway_hello()
except AttributeError:
pass
@abstractmethod @abstractmethod
def receive_frame(self, frame: Frame) -> bool: def receive_frame(self, frame: Frame) -> bool: