summaryrefslogtreecommitdiff
path: root/net/l2tpv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/l2tpv3.c')
-rw-r--r--net/l2tpv3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tpv3.c b/net/l2tpv3.c
index b8faa8796c..af373e5c30 100644
--- a/net/l2tpv3.c
+++ b/net/l2tpv3.c
@@ -716,7 +716,7 @@ int net_init_l2tpv3(const Netdev *netdev,
s->vec = g_new(struct iovec, MAX_L2TPV3_IOVCNT);
s->header_buf = g_malloc(s->header_size);
- qemu_set_nonblock(fd);
+ qemu_socket_set_nonblock(fd);
s->fd = fd;
s->counter = 0;