This website requires JavaScript.
Explore
Help
Sign In
External
/
libvirt
Watch
1
Star
0
Fork
0
You've already forked libvirt
mirror of
https://gitlab.com/libvirt/libvirt.git
synced
2024-12-24 22:55:23 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8f5e50e003
libvirt
/
tests
/
networkxml2xmlupdatein
/
dhcp-range.xml
2 lines
54 B
XML
Raw
Normal View
History
Unescape
Escape
network: validate DHCP ranges are completely within defined network 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
2015-05-22 21:32:02 +00:00
<range
start=
'192.168.122.10'
end=
'192.168.122.100'
/>
Reference in New Issue
Copy Permalink