silverwind / cidr-tools

Tools to work with IPv4 and IPv6 CIDR
98 stars 10 forks source link

Wrong exclusion #2

Closed silverwind closed 5 years ago

silverwind commented 6 years ago
> require(".").exclude(["10.11.0.0/16"], ["10.11.70.0/24"])
[ '10.11.0.0/16' ]

Should be

10.11.128.0/17
10.11.96.0/19
10.11.80.0/20
10.11.72.0/21
10.11.71.0/24
10.11.68.0/23
10.11.64.0/22
10.11.0.0/18