]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: better log message when network is inactive during reconnect
authorLaine Stump <laine@laine.org>
Tue, 25 Apr 2017 16:26:43 +0000 (12:26 -0400)
committerLaine Stump <laine@laine.org>
Fri, 28 Apr 2017 13:41:46 +0000 (09:41 -0400)
commit7949de960eaba07661c1e0ab6e4aa945db8c1b25
tree2adf48924986d2120565c9b08fb5677b64ab391b
parentcb182eb11d3a99adb06e188989899dcd488c43fc
network: better log message when network is inactive during reconnect

If the network isn't active during networkNotifyActualDevice(), we
would log an error message stating that the bridge device didn't
exist. This patch adds a check to see if the network is active, making
the logs more useful in the case that it isn't.

Partially resolves: https://bugzilla.redhat.com/1442700
src/network/bridge_driver.c