summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/gns3-qemu-options.hx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/gns3-qemu-options.hx.patch')
-rw-r--r--emulators/qemu-devel/files/gns3-qemu-options.hx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/gns3-qemu-options.hx.patch b/emulators/qemu-devel/files/gns3-qemu-options.hx.patch
new file mode 100644
index 000000000000..da8bf2903aa4
--- /dev/null
+++ b/emulators/qemu-devel/files/gns3-qemu-options.hx.patch
@@ -0,0 +1,11 @@
+--- a/qemu-options.hx
++++ b/qemu-options.hx
+@@ -1050,6 +1050,8 @@ DEF("net", HAS_ARG, QEMU_OPTION_net,
+ " connect the user mode network stack to VLAN 'n', configure its\n"
+ " DHCP server and enabled optional services\n"
+ #endif
++ "-net udp[,vlan=n],sport=sport,dport=dport,daddr=host\n"
++ " connect the vlan 'n' to a udp host (for dynamips/pemu/GNS3)\n"
+ #ifdef _WIN32
+ "-net tap[,vlan=n][,name=str],ifname=name\n"
+ " connect the host TAP network interface to VLAN 'n'\n"