mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-02 02:56:42 +00:00
Use RAW sockets by default on Linux.
This commit is contained in:
parent
fcd2c7b6d4
commit
d76bcf7078
@ -622,7 +622,7 @@ class BaseNode:
|
|||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
@asyncio.coroutine
|
@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.
|
Creates a connection with an Ethernet interface in uBridge.
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ class Cloud(BaseNode):
|
|||||||
if port_info["type"] in ("ethernet", "tap"):
|
if port_info["type"] in ("ethernet", "tap"):
|
||||||
|
|
||||||
if sys.platform.startswith("win"):
|
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:
|
else:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user