mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
network: Fix virNetworkObjBridgeInUse return type
Rather than an int, it returns a bool - so let's define it that way Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
c447086f01
commit
5aaa304f8d
@ -1172,7 +1172,7 @@ virNetworkObjBridgeInUseHelper(const void *payload,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
bool
|
||||||
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
|
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
|
||||||
const char *bridge,
|
const char *bridge,
|
||||||
const char *skipname)
|
const char *skipname)
|
||||||
|
@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir,
|
|||||||
const char *autostartDir,
|
const char *autostartDir,
|
||||||
virNetworkObjPtr net);
|
virNetworkObjPtr net);
|
||||||
|
|
||||||
int
|
bool
|
||||||
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
|
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
|
||||||
const char *bridge,
|
const char *bridge,
|
||||||
const char *skipname);
|
const char *skipname);
|
||||||
|
Loading…
Reference in New Issue
Block a user