diff options
Diffstat (limited to 'src/tcp_input.c')
-rw-r--r-- | src/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_input.c b/src/tcp_input.c index 45706fe..1d72479 100644 --- a/src/tcp_input.c +++ b/src/tcp_input.c @@ -423,7 +423,7 @@ findso: if ((tiflags & (TH_SYN | TH_FIN | TH_RST | TH_URG | TH_ACK)) != TH_SYN) goto dropwithreset; - so = socreate(slirp); + so = socreate(slirp, IPPROTO_TCP); tcp_attach(so); sbreserve(&so->so_snd, TCP_SNDSPACE); |