Fixed ASN handling -again-
This commit is contained in:
parent
01518e9eee
commit
9312e5a5a8
2
aslookup
2
aslookup
|
@ -32,7 +32,7 @@ while($witerator->isnt_exhausted) {
|
||||||
if($target =~ /^AS.*/i) {
|
if($target =~ /^AS.*/i) {
|
||||||
$asnum =~ s/.*:[ ]+//;
|
$asnum =~ s/.*:[ ]+//;
|
||||||
$asname =~ s/.*:[ ]+//;
|
$asname =~ s/.*:[ ]+//;
|
||||||
print "$target is $descr\n";
|
print "$target is $descr ($asname)\n";
|
||||||
} else {
|
} else {
|
||||||
$origin =~ s/.*:[ ]+//;
|
$origin =~ s/.*:[ ]+//;
|
||||||
$route =~ s/.*:[ ]+//;
|
$route =~ s/.*:[ ]+//;
|
||||||
|
|
Loading…
Reference in New Issue