aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slirp/udp.c4
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;