Commit 98206d4e authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Michael S. Tsirkin
Browse files

tests/vhost-user-bridge: do not accept more than one connection

parent 9652f578
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1200,6 +1200,7 @@ vubr_accept_cb(int sock, void *ctx)
    }
    DPRINT("Got connection from remote peer on sock %d\n", conn_fd);
    dispatcher_add(&dev->dispatcher, conn_fd, ctx, vubr_receive_cb);
    dispatcher_remove(&dev->dispatcher, sock);
}

static VubrDev *