mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-19 14:58:07 +00:00
Fix a wrong error message
This commit is contained in:
parent
922da7c90f
commit
35c2e2fcc4
@ -168,10 +168,10 @@ class EthernetHub(Bridge):
|
|||||||
self.manager.port_manager.release_udp_port(nio.lport, self._project)
|
self.manager.port_manager.release_udp_port(nio.lport, self._project)
|
||||||
yield from Bridge.remove_nio(self, nio)
|
yield from Bridge.remove_nio(self, nio)
|
||||||
|
|
||||||
log.info('Ethernet switch "{name}" [{id}]: NIO {nio} removed from port {port}'.format(name=self._name,
|
log.info('Ethernet hub "{name}" [{id}]: NIO {nio} removed from port {port}'.format(name=self._name,
|
||||||
id=self._id,
|
id=self._id,
|
||||||
nio=nio,
|
nio=nio,
|
||||||
port=port_number))
|
port=port_number))
|
||||||
|
|
||||||
del self._mappings[port_number]
|
del self._mappings[port_number]
|
||||||
return nio
|
return nio
|
||||||
|
Loading…
Reference in New Issue
Block a user