Re: [PATCH 1/2] network: remove autostart flag from network when undefining it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/17/2013 04:40 AM, Peter Krempa wrote:
> When turning a started persistent network into a transient one we forgot
> to remove the autostart flag that is no longer valid at that point.
> ---
>  src/network/bridge_driver.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
> index e8b314a..bca6bd9 100644
> --- a/src/network/bridge_driver.c
> +++ b/src/network/bridge_driver.c
> @@ -3193,6 +3193,7 @@ networkUndefine(virNetworkPtr net) {
>
>      /* make the network transient */
>      network->persistent = 0;
> +    network->autostart = 0;
>      virNetworkDefFree(network->newDef);
>      network->newDef = NULL;
>

ACK.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]