From e1c5a2b33409b9795fa58bf389eac855981330a5 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 8 Jan 2009 19:18:21 +0000 Subject: Redirect slirp traffic to/from qemu character device (Gleb Natapov) Signed-off-by: Gleb Natapov Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6240 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/sbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slirp/sbuf.c') diff --git a/slirp/sbuf.c b/slirp/sbuf.c index b0e0838405..2e6e2b2140 100644 --- a/slirp/sbuf.c +++ b/slirp/sbuf.c @@ -108,7 +108,7 @@ sbappend(so, m) * ottherwise it'll arrive out of order, and hence corrupt */ if (!so->so_rcv.sb_cc) - ret = send(so->s, m->m_data, m->m_len, 0); + ret = slirp_send(so, m->m_data, m->m_len, 0); if (ret <= 0) { /* -- cgit v1.2.1