提交 51a36cb2 编写于 作者: B bellard

win32 compile fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1500 c046a42c-6fe2-441c-8c8c-71466251a162
上级 33d08439
...@@ -425,7 +425,7 @@ struct cu_header { ...@@ -425,7 +425,7 @@ struct cu_header {
uint32_t d_addr; // destination address uint32_t d_addr; // destination address
uint16_t s_family; // source family uint16_t s_family; // source family
uint16_t s_port; // source port uint16_t s_port; // source port
uint32_t s_addr; // source address uint32_t so_addr; // source address
uint32_t seqn; // sequence number uint32_t seqn; // sequence number
uint16_t message; // message uint16_t message; // message
uint16_t data_type; // data type uint16_t data_type; // data type
...@@ -617,7 +617,7 @@ struct cu_header { ...@@ -617,7 +617,7 @@ struct cu_header {
return; return;
cu_head = mtod(m, struct cu_header *); cu_head = mtod(m, struct cu_header *);
cu_head->s_port = addr.sin_port; cu_head->s_port = addr.sin_port;
cu_head->s_addr = our_addr.s_addr; cu_head->so_addr = our_addr.s_addr;
} }
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册