diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/filter-mirror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/filter-mirror.c b/net/filter-mirror.c index 62a8265068..6043549e5f 100644 --- a/net/filter-mirror.c +++ b/net/filter-mirror.c @@ -163,7 +163,7 @@ static ssize_t filter_redirector_receive_iov(NetFilterState *nf, MirrorState *s = FILTER_REDIRECTOR(nf); int ret; - if (qemu_chr_fe_get_driver(&s->chr_out)) { + if (qemu_chr_fe_backend_connected(&s->chr_out)) { ret = filter_send(&s->chr_out, iov, iovcnt); if (ret) { error_report("filter redirector send failed(%s)", strerror(-ret)); |