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
commitcc84091b41858bf9e46c249803ccdcab5ce01a7f (patch)
tree3543b0f38462dc674dccd83814232d17fba30c5d /savevm.c
parent7966674f0ea2deab5962c9c829f1792161d3c8fb (diff)
downloadqemu-cc84091b41858bf9e46c249803ccdcab5ce01a7f.tar.gz
qemu-cc84091b41858bf9e46c249803ccdcab5ce01a7f.tar.bz2
qemu-cc84091b41858bf9e46c249803ccdcab5ce01a7f.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