diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index a1f060b..feae861 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -439,6 +439,7 @@ void tcp_connect(struct socket *inso) return; } so->lhost = inso->lhost; + so->ffamily = inso->so_ffamily; } tcp_mss(sototcpcb(so), 0);