bridge_driver.c: Fix autoconf setting

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

Signed-off-by: Neil Wilson <neil@brightbox.co.uk>
This commit is contained in:
Neil Wilson 2011-10-03 10:58:55 +01:00 committed by Laine Stump
parent be5ec76630
commit 92888c803b
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
<fsimonce@redhat.com> <federico.simoncelli@gmail.com>
<marcandre.lureau@redhat.com> <marcandre.lureau@gmail.com>
<supriyak@linux.vnet.ibm.com> <supriyak@in.ibm.com>
<neil@aldur.co.uk> <neil@brightbox.co.uk>
# Name consolidation:
# Preferred author spelling <preferred email>

View File

@ -1566,9 +1566,9 @@ networkSetIPv6Sysctls(virNetworkObjPtr network)
goto cleanup;
}
if (virFileWriteStr(field, "1", 0) < 0) {
if (virFileWriteStr(field, "0", 0) < 0) {
virReportSystemError(errno,
_("cannot enable %s"), field);
_("cannot disable %s"), field);
goto cleanup;
}