Jump to content

Canonicalize CIDR: Difference between revisions

m
Add the missing argument to a function in the CL solution
m (Optimise the Common Lisp solution a bit)
m (Add the missing argument to a function in the CL solution)
Line 476:
(ip* (ip->bit-vector ip))
(canonical-ip (fill ip* 0 :start sn)))
(bit-vector->ip canonical-ip sn)))
 
(loop :for cidr :in '("36.18.154.103/12" "62.62.197.11/29"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.