aboutsummaryrefslogtreecommitdiff
path: root/slirp/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/udp.c')
-rw-r--r--slirp/udp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/slirp/udp.c b/slirp/udp.c
index 11e78cddd5..ba9d5c92ba 100644
--- a/slirp/udp.c
+++ b/slirp/udp.c
@@ -173,8 +173,6 @@ udp_input(register struct mbuf *m, int iphlen)
for (tmp = udb.so_next; tmp != &udb; tmp = tmp->so_next) {
if (tmp->so_lport == uh->uh_sport &&
tmp->so_laddr.s_addr == ip->ip_src.s_addr) {
- tmp->so_faddr.s_addr = ip->ip_dst.s_addr;
- tmp->so_fport = uh->uh_dport;
so = tmp;
break;
}