]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: report all address range errors in virSocketAddrGetRange()
authorLaine Stump <laine@laine.org>
Tue, 26 May 2015 19:44:24 +0000 (15:44 -0400)
committerLaine Stump <laine@laine.org>
Tue, 2 Jun 2015 16:40:07 +0000 (12:40 -0400)
commit55ace7c4789c8a7408139460f4b639cee00e5125
treef67fb9c199f2c5a31df31e635634e451c35e5b17
parent198d503c6428fb8c4a3c9e31331be8f1026a4dde
util: report all address range errors in virSocketAddrGetRange()

There are now many more reasons that virSocketAddrGetRange() could
fail, so it is much more informative to report the error there instead
of in the caller. (one of the two callers was previously assuming
success, which is almost surely safe based on the parsing that has
already happened to the config by that time, but it still is nicer to
account for an error "just in case")

Part of fix for: https://bugzilla.redhat.com/show_bug.cgi?id=985653
src/conf/network_conf.c
src/network/bridge_driver.c
src/util/virsocketaddr.c