mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
net: tap: using bool instead of bitfield
Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
committed by
Anthony Liguori
parent
350ed2fcd9
commit
ec45f08313
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user