On Mon, May 31, 2010 at 11:25:50 +0200 (+0200), Alexander Wirt wrote:
> Adrian Bridgett schrieb am Monday, den 31. May 2010:
> 
> > A small patch to apply on top of #536609.
> I plan to orphan the package soon, as I don't use firehol anymore. Are you
> interested in taking it over? 

I could do now that I'm back in the keyring, I can certainly apply the
odd little patch, not sure about the more complex bugs.  I do still
use firehol so probably better than orphaning it.

Speaking of patches, I realised that I forgot to actually attach it so
it's attached here.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS
--- get-iana.patched	2010-05-31 10:00:56.000000000 +0100
+++ get-iana	2010-05-31 10:07:17.000000000 +0100
@@ -54,7 +54,7 @@
 # and creates a list with all reserved address spaces.
 #
 
-IPV4_ADDRESS_SPACE_URL=http://www.iana.org/assignments/ipv4-address-space/
+IPV4_ADDRESS_SPACE_URL=http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt
 IANA_RESERVED="\(IANA\|Future use\).*\(RESERVED\|UNALLOCATED\)"
 RIPSF=/etc/firehol/RESERVED_IPS
 
@@ -113,7 +113,7 @@
 
 wget -q -O - --proxy=off "$IPV4_ADDRESS_SPACE_URL"	|
 grep -e "$IANA_RESERVED"				|
-cut -d ' ' -f 1						| {
+awk '{print $1}'					| {
 	i=0
 	while IFS="/" read range net; do
 		if [ $net -ne 8 ]; then

Reply via email to