diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-08 19:18:21 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-08 19:18:21 +0000 |
commit | 8a83e031bcc60c0fbfee518a265ee8b7c12c1e36 (patch) | |
tree | 1f00bc88e1b58a29934a5b60294d6bac832c7566 /sbuf.c | |
parent | 383589c12e3f2e0e34058be7901ba080dd73722c (diff) | |
download | slirp-8a83e031bcc60c0fbfee518a265ee8b7c12c1e36.zip slirp-8a83e031bcc60c0fbfee518a265ee8b7c12c1e36.tar.gz slirp-8a83e031bcc60c0fbfee518a265ee8b7c12c1e36.tar.bz2 |
Redirect slirp traffic to/from qemu character device (Gleb Natapov)
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6240 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sbuf.c')
-rw-r--r-- | sbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ struct mbuf *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) { /* |