Closed tomkcook closed 10 months ago
eg:
> ip = ipaddr.parse('fd5e:ea3a:c90e:753f:d625:ccff:feb3:80a4'); > range = ipaddr.parseCIDR('fd5e::/16'); > range.includes(ip) false
nvm, includes isn't part of the API, is it? Feel free to reject this.
includes
parseCIDR returns an object that is just an array. Of course it does not support your includes query.
parseCIDR
eg: