mirror of https://gitee.com/openkylin/libvirt.git
1e334a0a00
virSocketAddrGetRange() has been updated to take the network address and prefix, and now checks that both the start and end of the range are within that network, thus validating that the entire range of addresses is in the network. For IPv4, it also checks that ranges to not start with the "network address" of the subnet, nor end with the broadcast address of the subnet (this check doesn't apply to IPv6, since IPv6 doesn't have a broadcast or network address) Negative tests have been added to the network update and socket tests to verify that bad ranges properly generate an error. This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=985653 |
||
---|---|---|
.. | ||
dhcp6host-routed-network-another-range.xml | ||
dhcp6host-routed-network-range.xml | ||
nat-network-dns-more-hosts.xml | ||
nat-network-dns-srv-record.xml | ||
nat-network-dns-srv-records.xml | ||
nat-network-dns-txt-none.xml | ||
nat-network-dns-txt-records.xml | ||
nat-network-forward-ifaces.xml | ||
nat-network-host-updated.xml | ||
nat-network-hosts.xml | ||
nat-network-no-forward-ifaces.xml | ||
nat-network-no-hosts.xml | ||
nat-network-no-range.xml | ||
nat-network-one-host.xml | ||
nat-network.xml | ||
openvswitch-net-modified.xml | ||
openvswitch-net-more-portgroups.xml | ||
openvswitch-net-without-alice.xml |