[libvirt] [PATCH] bridge_driver.c: Fix autoconf setting
Laine Stump
laine at laine.org
Tue Oct 4 03:38:44 UTC 2011
On 10/03/2011 05:58 AM, Neil Wilson wrote:
> 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;
ACK (after changing "enable" to "disable"), and pushed (with an addition
to .mailcap, since your last patch used a different address).
More information about the libvir-list
mailing list