summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorLaine Stump <laine@redhat.com>2022-10-27 16:40:06 -0400
committerLaine Stump <laine@redhat.com>2023-01-09 14:24:27 -0500
commitd3307a8fd263a74a3e5a1baaf66a3f9b9d79fea0 (patch)
tree42d9c21a0ac17794a46f41628e69e32e44b440f5 /src/security
parent49ff47269b71a762ca5de4595f6ec915043e05ce (diff)
downloadlibvirt-d3307a8fd263a74a3e5a1baaf66a3f9b9d79fea0.tar.gz
conf: rename virDomainNetBackend* to virDomainNetDriver*
This fits better with the element containing the value (<driver>), and allows us to use virDomainNetBackend* for things in the <backend> element. Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/virt-aa-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index c8db925094..f6c9703db6 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -1283,7 +1283,7 @@ get_files(vahControl * ctl)
for (i = 0; i < ctl->def->nnets; i++) {
virDomainNetDef *net = ctl->def->nets[i];
if (net && virDomainNetGetModelString(net)) {
- if (net->driver.virtio.name == VIR_DOMAIN_NET_BACKEND_TYPE_QEMU)
+ if (net->driver.virtio.name == VIR_DOMAIN_NET_DRIVER_TYPE_QEMU)
continue;
if (!virDomainNetIsVirtioModel(net))
continue;