[libvirt] [PATCH] bridge_driver.c: Fix autoconf setting

Neil Wilson neil at brightbox.co.uk
Mon Oct 3 09:58:55 UTC 2011


Code altered so that it is consistent with the associated comment. The
'autoconf' variable is forced to zero.

Signed-off-by: Neil Wilson <neil at brightbox.co.uk>
---
 src/network/bridge_driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 9960745..76e7178 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -1566,7 +1566,7 @@ networkSetIPv6Sysctls(virNetworkObjPtr network)
         goto cleanup;
     }
 
-    if (virFileWriteStr(field, "1", 0) < 0) {
+    if (virFileWriteStr(field, "0", 0) < 0) {
         virReportSystemError(errno,
                              _("cannot enable %s"), field);
         goto cleanup;
-- 
1.7.4.1




More information about the libvir-list mailing list