From 4a82347a470eb087b2cb3075c506c42051d20230 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:29 +0200 Subject: slirp: Mark sockets of incoming TCP connections Required for pretty-printing. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- slirp/tcp_subr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'slirp/tcp_subr.c') diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index 6fa4223..219f1dd 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -483,6 +483,7 @@ tcp_connect(struct socket *inso) /* if it's not FACCEPTONCE, it's already NOFDREF */ } so->s = s; + so->so_state |= SS_INCOMING; so->so_iptos = tcp_tos(so); tp = sototcpcb(so); -- cgit v1.1