From ec45f08313ce92039d52ea0338db4a0c862fef6a Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Wed, 30 Jan 2013 19:12:20 +0800 Subject: net: tap: using bool instead of bitfield Signed-off-by: Jason Wang Signed-off-by: Anthony Liguori --- net/tap-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/tap-win32.c') diff --git a/net/tap-win32.c b/net/tap-win32.c index 265369c3c5..3052bbac14 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -722,9 +722,9 @@ int net_init_tap(const NetClientOptions *opts, const char *name, return 0; } -int tap_has_ufo(NetClientState *nc) +bool tap_has_ufo(NetClientState *nc) { - return 0; + return false; } int tap_has_vnet_hdr(NetClientState *nc) @@ -741,7 +741,7 @@ void tap_fd_set_vnet_hdr_len(int fd, int len) { } -void tap_using_vnet_hdr(NetClientState *nc, int using_vnet_hdr) +void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr) { } -- cgit v1.2.3