]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Log bgpdump errors to stderr instead syslog
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Jul 2019 20:22:53 +0000 (21:22 +0100)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Jul 2019 20:22:53 +0000 (21:22 +0100)
utils/asn.pl

index f283d0a08e5f48d4330b89d3875092e55da28d14..0854ae5f761039a35003dd50aff93e35daf76db2 100644 (file)
@@ -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;