On Fri, May 19, 2017 at 09:03:19AM -0400, John Ferlan wrote:
In order to privatize the virNetworkObj create accessors in
virnetworkobj
in order to handle the get/set of the active value.
Also rather than an unsigned int, convert it to a boolean to match other
drivers representation and the reality of what it is.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/conf/virnetworkobj.c | 17 ++++++++++++++++-
src/conf/virnetworkobj.h | 15 ++++++++-------
src/libvirt_private.syms | 2 ++
src/network/bridge_driver.c | 10 +++++-----
src/test/test_driver.c | 8 ++++----
5 files changed, 35 insertions(+), 17 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>