[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] COLO-proxy: Fix argument check error
Here, we should check the 'outdev' before use. Signed-off-by: Zhang Chen <zhangchen.fnst@xxxxxxxxxxxxxx> --- tools/libxl/libxl_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 4344c53..f8ba859 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -1293,7 +1293,7 @@ static int libxl__build_device_model_args_new(libxl__gc *gc, nics[i].colo_filter_sec_redirector0_indev)); } if (nics[i].colo_filter_sec_redirector1_queue && - nics[i].colo_filter_sec_redirector1_indev) { + nics[i].colo_filter_sec_redirector1_outdev) { flexarray_append(dm_args, "-object"); flexarray_append(dm_args, GCSPRINTF("filter-redirector,id=rs2,netdev=net%d,queue=%s,outdev=%s", -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |