From 36edfc2121960ef27cbc75508fa857aa0a0ef542 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 18 Nov 2010 10:08:52 +0000 Subject: Ruideger says I do not want plain "ASSIGNED", only "ASSIGNED P[IA]" svn path=/scripts/ripe-to-csv.awk; revision=3556 --- scripts/ripe-to-csv.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ripe-to-csv.awk b/scripts/ripe-to-csv.awk index a7073c38..5325574f 100644 --- a/scripts/ripe-to-csv.awk +++ b/scripts/ripe-to-csv.awk @@ -119,6 +119,6 @@ function do_asn() { # Handle an INETNUM or INET6NUM block: check for the status values we # care about, use NETNAME as the handle. function do_prefix() { - if (tags["STATUS"] ~ /^ASSIGNED(P[AI])?$/ && tags["NETNAME"] && tags[tag]) + if (tags["STATUS"] ~ /^ASSIGNED(P[AI])$/ && tags["NETNAME"] && tags[tag]) print tags["NETNAME"], tags[tag] >"prefixes.csv"; } -- cgit v1.2.3