Skip to content

Commit

Permalink
[Minor] Log bgpdump errors to stderr instead syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
citrin committed Jul 16, 2019
1 parent e872fbf commit 9a938a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/asn.pl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ sub is_bougus_asn {
F_ORIGIN => 7,
};

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

while (<$bgpd>) {
chomp;
Expand Down

0 comments on commit 9a938a1

Please sign in to comment.