From f8778a7785d530515b0db395606f327fd5f94a92 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Sat, 24 Apr 2010 08:54:07 -0400 Subject: [PATCH] Fix the RARP protocol ID The packet(s) sent out after migration are supposed to be RAPR type of packets. If they are supposed to go anywhere useful, the RAPR ethernet identifier needs to be fix. Also see http://www.iana.org/assignments/ethernet-numbers for 0x8035 for RARP. Signed-off-by: Stefan Berger Signed-off-by: Anthony Liguori --- savevm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/savevm.c b/savevm.c index 086c92a704..31a419c1c4 100644 --- a/savevm.c +++ b/savevm.c @@ -89,7 +89,7 @@ static BlockDriverState *bs_snapshots; #define SELF_ANNOUNCE_ROUNDS 5 #ifndef ETH_P_RARP -#define ETH_P_RARP 0x0835 +#define ETH_P_RARP 0x8035 #endif #define ARP_HTYPE_ETH 0x0001 #define ARP_PTYPE_IP 0x0800