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