This resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=985653
Laine Stump (3):
network: validate DHCP ranges are completely within defined network
network: cleanup range loop in networkDnsmasqConfContents
util: report all address range errors in virSocketAddrGetRange()
src/conf/network_conf.c | 18 +--
src/network/bridge_driver.c | 24 +--
src/util/virsocketaddr.c | 180 ++++++++++++++++++---
src/util/virsocketaddr.h | 6 +-
tests/networkxml2xmlupdatein/dhcp-range-10.xml | 1 +
tests/networkxml2xmlupdatein/dhcp-range.xml | 2 +-
.../dhcp6host-routed-network-another-range.xml | 2 +-
.../dhcp6host-routed-network-range.xml | 2 +-
tests/networkxml2xmlupdatetest.c | 5 +
tests/sockettest.c | 55 ++++---
10 files changed, 228 insertions(+), 67 deletions(-)
create mode 100644 tests/networkxml2xmlupdatein/dhcp-range-10.xml
--
2.1.0