Re: [libvirt] [PATCH 2/3] util: new virSocketAddrIsPrivate function

2012-11-21 Thread Doug Goldstein
On Nov 21, 2012, at 8:55 PM, Laine Stump wrote: > This new function returns true if the given address is in the range of > any "private" or "local" networks as defined in RFC1918 (IPv4) or > RFC4193 (IPv6), otherwise they return false. > > These ranges are: > > 192.168.0.0/16 > 172.16.0.0/1

[libvirt] [PATCH 2/3] util: new virSocketAddrIsPrivate function

2012-11-21 Thread Laine Stump
This new function returns true if the given address is in the range of any "private" or "local" networks as defined in RFC1918 (IPv4) or RFC4193 (IPv6), otherwise they return false. These ranges are: 192.168.0.0/16 172.16.0.0/16 10.0.0.0/24 FC00::/7 --- src/libvirt_private.syms | 1