diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-03 17:08:43 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-03 17:08:43 +0000 |
commit | 51a36cb2cb38bee2834de8add532cb66e4e6b884 (patch) | |
tree | cc9d46f9760965291181eac27f39a88d89015147 /slirp | |
parent | 33d084399ca64f8b0c7c97de473eafc77b0e8a36 (diff) |
win32 compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1500 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/udp.c b/slirp/udp.c index 079c543534..be51af6790 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -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; |