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 mpriv...@redhat.com
---
tools/virsh-domain.c | 15 ++-
1
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