mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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,
|
||||
const char *bridge,
|
||||
const char *skipname)
|
||||
|
@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir,
|
||||
const char *autostartDir,
|
||||
virNetworkObjPtr net);
|
||||
|
||||
int
|
||||
bool
|
||||
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
|
||||
const char *bridge,
|
||||
const char *skipname);
|
||||
|
Loading…
Reference in New Issue
Block a user