diff options
-rw-r--r-- | udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ void udp_input(register struct mbuf *m, int iphlen) * Locate pcb for datagram. */ so = slirp->udp_last_so; - if (so->so_lport != uh->uh_sport || + if (so == &slirp->udb || so->so_lport != uh->uh_sport || so->so_laddr.s_addr != ip->ip_src.s_addr) { struct socket *tmp; |