summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/gns3-qemu-options.hx.patch
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-07-13 20:01:41 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-07-13 20:01:41 +0000
commit85c8cc458dfbb39268c8289f6a6d326ab326de68 (patch)
treebf156f6f9af9fdadf7c66e50b303b3da73871e7a /emulators/qemu-devel/files/gns3-qemu-options.hx.patch
parent- Add patch and knob (defaulted to on) to support udp networking (diff)
- Add patches and knob (defaulted to off) to support udp networking
and a patch for promiscuous multicast for the emulated e1000 nic, both to support using qemu with the (also to be updated) emulators/gns3 port. - Change DIST_SUBDIR to qemu/${PORTVERSION} because PATCHFILES names are not versioned. Requested by: Benjamin Epitech <mlspirat42@gmail.com> (via private email) Obtained from: http://code.gns3.net/qemu-patches/
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"