]> git.proxmox.com Git - qemu.git/commitdiff
Fix the RARP protocol ID
authorStefan Berger <stefanb@us.ibm.com>
Sat, 24 Apr 2010 12:54:07 +0000 (08:54 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 17:09:48 +0000 (12:09 -0500)
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 <stefanb@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
savevm.c

index 086c92a704b9ac71f02f4f3d637f7a12cc99f9bf..31a419c1c4f3e635ca9b60c26ffec39c1260e185 100644 (file)
--- 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