Re: [PATCH 1/3] virsh attach-interface: Use enum instead of arbitrary integers

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

 



On Mon, Feb 09, 2015 at 10:58:28 +0100, Michal Privoznik wrote:
> The type of interface to attach is held in the variable 'typ'.
> Depending on interface type selected by user, the variable is set
> either to 1 (network), or 2 (bridge). Lets use an enum instead.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tools/virsh-domain.c | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

ACK,

Peter

Attachment: signature.asc
Description: Digital signature

--
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]