summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@us.ibm.com>2010-04-24 08:54:07 -0400
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-03 12:09:48 -0500
commitf8778a7785d530515b0db395606f327fd5f94a92 (patch)
tree3543b0f38462dc674dccd83814232d17fba30c5d /savevm.c
parentd510c5cf343eabd4d3a301f5730af724747b7055 (diff)
downloadqemu-f8778a7785d530515b0db395606f327fd5f94a92.zip
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 <stefanb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c2
1 files changed, 1 insertions, 1 deletions
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