[Libvirt-cim] [PATCH 1 of 2] Variable name change in VSMS

Sharad Mishra snmishra at us.ibm.com
Fri Dec 4 00:51:00 UTC 2009


# HG changeset patch
# User Sharad Mishra <snmishra at us.ibm.com>
# Date 1259887733 28800
# Node ID c43110511d0391a0b3203212ba85d658cc046291
# Parent  282660c5e43aba6b284a9909144b9df14dc95f5b
Variable name change in VSMS.

Name was changed from IsIPv6Only to is_ipv6_only

Signed-off-by: Sharad Mishra <snmishra at us.ibm.com>

diff -r 282660c5e43a -r c43110511d03 src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c	Wed Dec 02 12:48:47 2009 -0800
+++ b/src/Virt_VirtualSystemManagementService.c	Thu Dec 03 16:48:53 2009 -0800
@@ -982,7 +982,7 @@
         /* FIXME: Add logic to prevent address:port collisions */
         if (cu_get_str_prop(inst, "Address", &val) != CMPI_RC_OK) {
                 CU_DEBUG("no graphics port defined, giving default");
-                if (cu_get_bool_prop(inst, "IsIPv6Only", &ipv6) != CMPI_RC_OK)
+                if (cu_get_bool_prop(inst, "is_ipv6_only", &ipv6) != CMPI_RC_OK)
                         ipv6 = false;
                 if (ipv6)
                         dev->dev.graphics.host = strdup("[::1]");




More information about the Libvirt-cim mailing list