fix port/nic enable/disable actions returning failure when they succeed

This commit is contained in:
Cristian-VM2
2024-03-25 11:41:07 +00:00
parent 4a5dd9ba0f
commit 78b966ace4

View File

@@ -519,12 +519,10 @@ class IPWiredNetworkInterface(WiredNetworkInterface, Layer3Interface, ABC):
"""
super().enable()
try:
pass
self._connected_node.default_gateway_hello()
return True
except AttributeError:
pass
return False
return True
@abstractmethod
def receive_frame(self, frame: Frame) -> bool: