diff options
Diffstat (limited to 'slirp/udp.c')
-rw-r--r-- | slirp/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/udp.c b/slirp/udp.c index be51af6790..dbccccc4fb 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -657,7 +657,7 @@ udp_listen(port, laddr, lport, flags) getsockname(so->s,(struct sockaddr *)&addr,&addrlen); so->so_fport = addr.sin_port; if (addr.sin_addr.s_addr == 0 || addr.sin_addr.s_addr == loopback_addr.s_addr) - so->so_faddr = our_addr; + so->so_faddr = alias_addr; else so->so_faddr = addr.sin_addr; |