mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Prevent connect a node to himself
Fix https://github.com/GNS3/gns3-gui/issues/1553
This commit is contained in:
7 files changed
+79
-7
No files matched your search
@@ -259,6 +259,9 @@ class Cloud(BaseNode):
|
||||
self._nios[port_number] = nio
|
||||
try:
|
||||
yield from self._add_ubridge_connection(nio, port_number)
|
||||
except NodeError as e:
|
||||
del self._nios[port_number]
|
||||
raise e
|
||||
# Cleanup stuff
|
||||
except UbridgeError as e:
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user