Commit 51a36cb2cb38bee2834de8add532cb66e4e6b884

Authored by bellard
1 parent 33d08439

win32 compile fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1500 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
slirp/udp.c
... ... @@ -425,7 +425,7 @@ struct cu_header {
425 425 uint32_t d_addr; // destination address
426 426 uint16_t s_family; // source family
427 427 uint16_t s_port; // source port
428   - uint32_t s_addr; // source address
  428 + uint32_t so_addr; // source address
429 429 uint32_t seqn; // sequence number
430 430 uint16_t message; // message
431 431 uint16_t data_type; // data type
... ... @@ -617,7 +617,7 @@ struct cu_header {
617 617 return;
618 618 cu_head = mtod(m, struct cu_header *);
619 619 cu_head->s_port = addr.sin_port;
620   - cu_head->s_addr = our_addr.s_addr;
  620 + cu_head->so_addr = our_addr.s_addr;
621 621 }
622 622  
623 623 return;
... ...