diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-22 17:43:38 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:00 -0500 |
commit | bb6e636443d49f7444f49ab64dc7ec6aae1493a7 (patch) | |
tree | 67f2e6436aec330d4ebbd3430e3c0dd9ad84f0f8 /tap-win32.c | |
parent | baf74c95802347e218721dbaa331997e11fbf903 (diff) |
net: add a client type code
This is so as to allow APIs which operate on specific client types
without having to add a function table entry which is only implemented
by a single client type.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tap-win32.c')
-rw-r--r-- | tap-win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tap-win32.c b/tap-win32.c index e4fdde8166..e2bac3e448 100644 --- a/tap-win32.c +++ b/tap-win32.c @@ -677,7 +677,8 @@ int tap_win32_init(VLANState *vlan, const char *model, return -1; } - s->vc = qemu_new_vlan_client(vlan, NULL, model, name, + s->vc = qemu_new_vlan_client(NET_CLIENT_TYPE_TAP, + vlan, NULL, model, name, NULL, tap_receive, NULL, tap_cleanup, s); |