From 9a938a1e915e54861543e4aa3c8723bcbf7325c6 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Tue, 16 Jul 2019 21:22:53 +0100 Subject: [PATCH] [Minor] Log bgpdump errors to stderr instead syslog --- utils/asn.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/asn.pl b/utils/asn.pl index f283d0a08..0854ae5f7 100644 --- a/utils/asn.pl +++ b/utils/asn.pl @@ -145,7 +145,7 @@ foreach my $u ( @{ $config{'bgp_sources'} } ) { 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; -- 2.39.5