]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: move debug/error log when adding IP addresses to virNetDevIPAddrAdd
authorLaine Stump <laine@laine.org>
Wed, 15 Jun 2016 19:27:47 +0000 (15:27 -0400)
committerLaine Stump <laine@laine.org>
Sun, 26 Jun 2016 23:33:10 +0000 (19:33 -0400)
commit4ff9ec7dae74ff6cc0f5ce1ae46a90f3a057be94
tree8fc76d4c20606b44561eca0cfc20df33b1e93fd1
parent255995827b705656363e30cbf1d230f73882e3a1
lxc: move debug/error log when adding IP addresses to virNetDevIPAddrAdd

It makes more sense to have the logging at the lower level so other
callers can share the goodness.

While removing so much stuff from / touching so many lines in
lxcContainerRenameAndEnableInterfaces() (which used to have this
debug/error logging), label names were changed and it was updated to
use the now-more-common method of initializing ret to -1 (failure),
then setting to 0 right before the cleanup label.
src/lxc/lxc_container.c
src/util/virnetdevip.c