aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu-devel/files/pcap-patch
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/pcap-patch')
-rw-r--r--emulators/qemu-devel/files/pcap-patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/emulators/qemu-devel/files/pcap-patch b/emulators/qemu-devel/files/pcap-patch
index 6b8dea448d88..75ae11e02df4 100644
--- a/emulators/qemu-devel/files/pcap-patch
+++ b/emulators/qemu-devel/files/pcap-patch
@@ -110,7 +110,7 @@ Index: net.c
static QTAILQ_HEAD(, VLANState) vlans;
static QTAILQ_HEAD(, VLANClientState) non_vlan_clients;
-@@ -820,6 +825,228 @@ static int net_init_nic(QemuOpts *opts,
+@@ -817,6 +822,226 @@ static int net_init_nic(QemuOpts *opts,
return idx;
}
@@ -330,8 +330,6 @@ Index: net.c
+ return -1;
+ }
+
-+ vlan->nb_host_devs++;
-+
+ return 0;
+}
+#endif /* CONFIG_PCAP */
@@ -339,7 +337,7 @@ Index: net.c
#define NET_COMMON_PARAMS_DESC \
{ \
.name = "type", \
-@@ -980,6 +1207,20 @@ static struct {
+@@ -977,6 +1202,20 @@ static struct {
#endif /* _WIN32 */
{ /* end of list */ }
},