]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix mask for 172.16.0.0 private address range
authorJiri Denemark <jdenemar@redhat.com>
Wed, 30 Jan 2013 11:01:01 +0000 (12:01 +0100)
committerLaine Stump <laine@laine.org>
Sun, 3 Feb 2013 01:45:45 +0000 (20:45 -0500)
commit96a49bd8bb3e04a1f28d44141e45b9635db05720
tree27bfd6abc7b6ff2a7533fca73ae93a732549ec46
parent50a1a57e4c54a382ee4bafcc1e65206905b53d0e
util: Fix mask for 172.16.0.0 private address range

https://bugzilla.redhat.com/show_bug.cgi?id=905708

Only the first 12 bits should be set in the mask for this range. All
addresses between 172.16.0.0 and 172.31.255.255 are private.
(cherry picked from commit 6405713f2ab9243db7d856914aaefbd4f9747daa)
src/util/virsocketaddr.c