Fix build on mingw32
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 2 Apr 2010 15:26:30 +0000 (10:26 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 2 Apr 2010 15:40:08 +0000 (10:40 -0500)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net/tap-win32.c

index 545bbbd128e83970f91de6a51205bc22ca41e893..74348daf5a6438f689117b2c352ae0e4e4c2aed0 100644 (file)
@@ -736,3 +736,8 @@ void tap_set_offload(VLANClientState *vc, int csum, int tso4,
                      int tso6, int ecn, int ufo)
 {
 }
+
+struct vhost_net *tap_get_vhost_net(VLANClientState *nc)
+{
+    return NULL;
+}