Date: 7 Apr 2011 16:57:15 -0000 From: "John Levine" <johnl@iecc.com> To: freebsd-questions@freebsd.org Subject: Re: Merging CIDR lists Message-ID: <20110407165715.90743.qmail@joyce.lan> In-Reply-To: <alpine.BSF.2.00.1104071026040.41686@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <alpine.BSF.2.00.1104071026040.41686@wonkity.com> you write: >Does anyone have a convenient way to merge a list of CIDR netblocks? Using Net::CIDR or Net::CIDR::Lite, both of which are in the ports, this script will do it: ----- snip ----- use Net::CIDR; print join(' ',Net::CIDR::cidradd(@ARGV)) . "\n"; ----- snip -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110407165715.90743.qmail>