OSDN Git Service

vhost-user-test: fix features mask
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 21 Dec 2017 21:21:21 +0000 (22:21 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:38 +0000 (21:52 +0200)
commit0d85e7d99a099b84181ee8c00b80ee6148866f9b
treec64efef4c3ec53c493f6afd8c85b30c8ed450f39
parent6cf6fe394acdf9b0025ae36ff75dfa8dc68d5bca
vhost-user-test: fix features mask

VIRTIO_NET_F_MAC is a bit position, not a bit mask.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/vhost-user-test.c