1
0
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:
Julien Duponchelle 2016-12-12 16:29:56 +01:00
parent 922da7c90f
commit 35c2e2fcc4
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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