summaryrefslogtreecommitdiff
path: root/emulators/qemu/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/patches/patch-aa')
-rw-r--r--emulators/qemu/patches/patch-aa12
1 files changed, 6 insertions, 6 deletions
diff --git a/emulators/qemu/patches/patch-aa b/emulators/qemu/patches/patch-aa
index dcfa9a3e978..67411e6c964 100644
--- a/emulators/qemu/patches/patch-aa
+++ b/emulators/qemu/patches/patch-aa
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.7 2010/08/09 11:46:39 tsutsui Exp $
+$NetBSD: patch-aa,v 1.8 2010/10/27 13:24:09 tsutsui Exp $
---- net/tap-bsd.c.orig 2010-05-04 15:27:48.000000000 +0000
+--- net/tap-bsd.c.orig 2010-07-28 01:55:42.000000000 +0000
+++ net/tap-bsd.c
-@@ -27,6 +27,8 @@
- #include "sysemu.h"
+@@ -28,6 +28,8 @@
+ #include "qemu-error.h"
#ifdef __NetBSD__
+#include <sys/ioctl.h>
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.7 2010/08/09 11:46:39 tsutsui Exp $
#include <net/if_tap.h>
#endif
-@@ -43,8 +45,12 @@
+@@ -44,8 +46,12 @@
int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required)
{
int fd;
@@ -24,7 +24,7 @@ $NetBSD: patch-aa,v 1.7 2010/08/09 11:46:39 tsutsui Exp $
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
/* if no ifname is given, always start the search from tap0. */
-@@ -75,14 +81,26 @@ int tap_open(char *ifname, int ifname_si
+@@ -77,14 +83,26 @@ int tap_open(char *ifname, int ifname_si
#else
TFR(fd = open("/dev/tap", O_RDWR));
if (fd < 0) {