From: Stefan Berger Date: Sat, 24 Apr 2010 12:54:07 +0000 (-0400) Subject: Fix the RARP protocol ID X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f8778a7785d530515b0db395606f327fd5f94a92;p=qmiga%2Fqemu.git 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 --- 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