aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/tcp_output.c')
-rw-r--r--slirp/tcp_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/tcp_output.c b/slirp/tcp_output.c
index 686e90dc0e..0d6011ac64 100644
--- a/slirp/tcp_output.c
+++ b/slirp/tcp_output.c
@@ -290,7 +290,7 @@ send:
* the template for sends on this connection.
*/
if (len) {
- m = m_get();
+ m = m_get(so->slirp);
if (m == NULL) {
error = 1;
goto out;
@@ -310,7 +310,7 @@ send:
if (off + len == so->so_snd.sb_cc)
flags |= TH_PUSH;
} else {
- m = m_get();
+ m = m_get(so->slirp);
if (m == NULL) {
error = 1;
goto out;