From 5842afccb1f569d774c2eff47dcb9903b392c49f Mon Sep 17 00:00:00 2001 From: paulgear Date: Sun, 3 Jul 2005 02:31:52 +0000 Subject: [PATCH] Somebody tell me how to do this inside the python script\! git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2242 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- contrib/iana_reserved/Makefile | 2 +- contrib/iana_reserved/bogons | 1 - contrib/iana_reserved/bogons.body | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/iana_reserved/Makefile b/contrib/iana_reserved/Makefile index 1a9dd56e1..35fe69fa9 100644 --- a/contrib/iana_reserved/Makefile +++ b/contrib/iana_reserved/Makefile @@ -7,4 +7,4 @@ bogons: bogons.head bogons.body bogons.tail cat $^ > $@ bogons.body: wget ipv4-address-space getreserved.py Makefile - ./getreserved.py < ipv4-address-space > $@ + ./getreserved.py < ipv4-address-space | grep -v '^10\.0\.0\.0/8' > $@ diff --git a/contrib/iana_reserved/bogons b/contrib/iana_reserved/bogons index d0e8d7335..892138375 100644 --- a/contrib/iana_reserved/bogons +++ b/contrib/iana_reserved/bogons @@ -40,7 +40,6 @@ 2.0.0.0/8 logdrop # Reserved 5.0.0.0/8 logdrop # Reserved 7.0.0.0/8 logdrop # Reserved -10.0.0.0/8 logdrop # Reserved 23.0.0.0/8 logdrop # Reserved 27.0.0.0/8 logdrop # Reserved 31.0.0.0/8 logdrop # Reserved diff --git a/contrib/iana_reserved/bogons.body b/contrib/iana_reserved/bogons.body index ae13e7139..1bdcc77a7 100644 --- a/contrib/iana_reserved/bogons.body +++ b/contrib/iana_reserved/bogons.body @@ -2,7 +2,6 @@ 2.0.0.0/8 logdrop # Reserved 5.0.0.0/8 logdrop # Reserved 7.0.0.0/8 logdrop # Reserved -10.0.0.0/8 logdrop # Reserved 23.0.0.0/8 logdrop # Reserved 27.0.0.0/8 logdrop # Reserved 31.0.0.0/8 logdrop # Reserved