From d76bcf7078b1d9a441f8a4c7cbd85b1fa5369a0f Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 19 Sep 2017 12:39:55 +0700 Subject: [PATCH] Use RAW sockets by default on Linux. --- gns3server/compute/base_node.py | 2 +- gns3server/compute/builtin/nodes/cloud.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/compute/base_node.py b/gns3server/compute/base_node.py index e7024c71..543224a2 100644 --- a/gns3server/compute/base_node.py +++ b/gns3server/compute/base_node.py @@ -622,7 +622,7 @@ class BaseNode: i += 1 @asyncio.coroutine - def _add_ubridge_ethernet_connection(self, bridge_name, ethernet_interface, block_host_traffic=True): + def _add_ubridge_ethernet_connection(self, bridge_name, ethernet_interface, block_host_traffic=False): """ Creates a connection with an Ethernet interface in uBridge. diff --git a/gns3server/compute/builtin/nodes/cloud.py b/gns3server/compute/builtin/nodes/cloud.py index eeddbc08..27f82d9f 100644 --- a/gns3server/compute/builtin/nodes/cloud.py +++ b/gns3server/compute/builtin/nodes/cloud.py @@ -210,7 +210,7 @@ class Cloud(BaseNode): if port_info["type"] in ("ethernet", "tap"): if sys.platform.startswith("win"): - yield from self._add_ubridge_ethernet_connection(bridge_name, port_info["interface"], block_host_traffic=False) + yield from self._add_ubridge_ethernet_connection(bridge_name, port_info["interface"]) else: