Browse Source

[Minor] Use three argument open

Fixes tidyall check.
tags/2.0
Anton Yuzhaninov 4 years ago
parent
commit
809cd1e03f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      utils/asn.pl

+ 1
- 1
utils/asn.pl View File

@@ -145,7 +145,7 @@ foreach my $u ( @{ $config{'bgp_sources'} } ) {
F_ORIGIN => 7,
};

open(my $bgpd, "bgpdump -v -M $fname |") or die "can't start bgpdump: $!";
open(my $bgpd, '-|', "bgpdump -v -M $fname") or die "can't start bgpdump: $!";

while (<$bgpd>) {
chomp;

Loading…
Cancel
Save