mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
Fix packet filters for Dynamips.
This commit is contained in:
1 parent
279b4d7b20
commit
85dcb985eb
2 files changed
+6
-5
No files matched your search
@@ -350,7 +350,9 @@ class Dynamips(BaseManager):
|
||||
sock.connect(sa)
|
||||
except OSError as e:
|
||||
raise DynamipsError("Could not create an UDP connection to {}:{}: {}".format(rhost, rport, e))
|
||||
nio = NIOUDP(node, lport, rhost, rport, nio_settings.get("filters", {}))
|
||||
nio = NIOUDP(node, lport, rhost, rport)
|
||||
nio.filters = nio_settings.get("filters", {})
|
||||
nio.suspend = nio_settings.get("suspend", False)
|
||||
elif nio_settings["type"] == "nio_generic_ethernet":
|
||||
ethernet_device = nio_settings["ethernet_device"]
|
||||
if sys.platform.startswith("win"):
|
||||
|
||||
Reference in new issue
Block a user