|
|
@@ -8,7 +8,7 @@ tmp=$(mktemp)
|
|
|
|
|
|
while read -r asn ; do
|
|
|
[[ "$asn" =~ ^AS[0-9]{1,}$ ]] || continue
|
|
|
- whois -h whois.radb.net -- -K -T route -i origin AS${asn} >> $tmp
|
|
|
+ whois -h whois.radb.net -- -K -T route -i origin ${asn} >> $tmp
|
|
|
done < $CONFD/WHITE.asn
|
|
|
|
|
|
grep -Eo "([0-9.]+){4}/[0-9]+" $tmp | while read -r net ; do
|