mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Fix error when updating packet filter on stopped Docker link. Fixes #1229.
This commit is contained in:
parent
7c90c513d0
commit
dd89b09f84
@ -749,9 +749,10 @@ class DockerVM(BaseNode):
|
|||||||
:param nio: NIO instance to add to the adapter
|
:param nio: NIO instance to add to the adapter
|
||||||
"""
|
"""
|
||||||
|
|
||||||
bridge_name = 'bridge{}'.format(adapter_number)
|
if self.ubridge:
|
||||||
if bridge_name in self._bridges:
|
bridge_name = 'bridge{}'.format(adapter_number)
|
||||||
yield from self._ubridge_apply_filters(bridge_name, nio.filters)
|
if bridge_name in self._bridges:
|
||||||
|
yield from self._ubridge_apply_filters(bridge_name, nio.filters)
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def adapter_remove_nio_binding(self, adapter_number):
|
def adapter_remove_nio_binding(self, adapter_number):
|
||||||
|
Loading…
Reference in New Issue
Block a user