]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Do not update network ports for inactive networks
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 3 Sep 2024 08:34:55 +0000 (10:34 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 17 Sep 2024 07:40:34 +0000 (09:40 +0200)
commit97ed0574ea6c528aadbbbedf1f47bc4d909a0745
treec89c9243e13d997cfadb59d55367230dce63d178
parent02b57caf5e9687d81d27bb4fcc816c60068bef14
network: Do not update network ports for inactive networks

The semantic does not change since inside networkUpdatePort() (well,
networkNotifyPort, for which the former is a wrapper) exits for inactive
networks, but with an error we can easily avoid with this patch.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/network/bridge_driver.c