Virtio-net: Replace the hardcode 6 with defined ETN_ALEN
commitebbeb789351a69d58b0da526fcb77bc82d18da7b
authorAmos Kong <akong@redhat.com>
Sun, 23 May 2010 02:49:10 +0000 (23 10:49 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 May 2010 20:18:23 +0000 (24 15:18 -0500)
tree3bd399cf2a74c549911877993aff6b84e5040430
parent111f8ec99b67aeef152c71a5db12f0c0cb2422bd
Virtio-net: Replace the hardcode 6 with defined ETN_ALEN

hw/virtio-net.h:
    #define ETH_ALEN    6
ETH_ALEN was defined by commit 7967406801aa897fae83caad3278ac85a342adaa

Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.h