mirror of https://gitee.com/openkylin/qemu.git
win32 compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1500 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
33d084399c
commit
51a36cb2cb
|
@ -425,7 +425,7 @@ struct cu_header {
|
|||
uint32_t d_addr; // destination address
|
||||
uint16_t s_family; // source family
|
||||
uint16_t s_port; // source port
|
||||
uint32_t s_addr; // source address
|
||||
uint32_t so_addr; // source address
|
||||
uint32_t seqn; // sequence number
|
||||
uint16_t message; // message
|
||||
uint16_t data_type; // data type
|
||||
|
@ -617,7 +617,7 @@ struct cu_header {
|
|||
return;
|
||||
cu_head = mtod(m, struct cu_header *);
|
||||
cu_head->s_port = addr.sin_port;
|
||||
cu_head->s_addr = our_addr.s_addr;
|
||||
cu_head->so_addr = our_addr.s_addr;
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue