diff options
Diffstat (limited to 'src/tcp_subr.c')
-rw-r--r-- | src/tcp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_subr.c b/src/tcp_subr.c index 7c63f49..636c447 100644 --- a/src/tcp_subr.c +++ b/src/tcp_subr.c @@ -521,7 +521,7 @@ void tcp_connect(struct socket *inso) /* FACCEPTONCE already have a tcpcb */ so = inso; } else { - so = socreate(slirp); + so = socreate(slirp, IPPROTO_TCP); tcp_attach(so); so->lhost = inso->lhost; so->so_ffamily = inso->so_ffamily; |