summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-tapclose
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-04-01 19:30:21 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-04-01 19:30:21 +0000
commitb7e9b8d7f48f3264bc9e36c23e70831f8844a225 (patch)
tree8641c93998130f785e6d2b7d8d9acb8030999b51 /emulators/qemu-devel/files/patch-tapclose
parentBump PORTREVISION to chase www/tntnet update. (diff)
- Update to 0.14.0 .
- Update amd64 host bsd-user linker script to fix build on -current/amd64. [1] - Some updates to the pkg-message. PR: ports/155558 [1] Submitted by: Garrett Cooper <yanegomi@gmail.com> [1]
Notes
Notes: svn path=/head/; revision=272101
Diffstat (limited to 'emulators/qemu-devel/files/patch-tapclose')
-rw-r--r--emulators/qemu-devel/files/patch-tapclose7
1 files changed, 4 insertions, 3 deletions
diff --git a/emulators/qemu-devel/files/patch-tapclose b/emulators/qemu-devel/files/patch-tapclose
index 8a96e3592a05..a5b8dfb0bf3f 100644
--- a/emulators/qemu-devel/files/patch-tapclose
+++ b/emulators/qemu-devel/files/patch-tapclose
@@ -1,5 +1,5 @@
Index: qemu/net/tap.c
-@@ -254,12 +254,12 @@ static void tap_cleanup(VLANClientState
+@@ -287,12 +287,13 @@ static void tap_cleanup(VLANClientState
qemu_purge_queued_packets(nc);
@@ -11,7 +11,8 @@ Index: qemu/net/tap.c
close(s->fd);
+
+ if (s->down_script[0])
-+ launch_script(s->down_script, s->down_script_arg, -1);
++ launch_script(s->down_script, s->down_script_arg, s->fd);
++
+ s->fd = -1;
}
- /* fd support */