mirror of https://gitee.com/openkylin/qemu.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 <stefanb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
d510c5cf34
commit
f8778a7785
2
savevm.c
2
savevm.c
|
@ -89,7 +89,7 @@ static BlockDriverState *bs_snapshots;
|
||||||
#define SELF_ANNOUNCE_ROUNDS 5
|
#define SELF_ANNOUNCE_ROUNDS 5
|
||||||
|
|
||||||
#ifndef ETH_P_RARP
|
#ifndef ETH_P_RARP
|
||||||
#define ETH_P_RARP 0x0835
|
#define ETH_P_RARP 0x8035
|
||||||
#endif
|
#endif
|
||||||
#define ARP_HTYPE_ETH 0x0001
|
#define ARP_HTYPE_ETH 0x0001
|
||||||
#define ARP_PTYPE_IP 0x0800
|
#define ARP_PTYPE_IP 0x0800
|
||||||
|
|
Loading…
Reference in New Issue