aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2019-07-16 21:22:53 +0100
committerAnton Yuzhaninov <citrin+git@citrin.ru>2019-07-16 21:22:53 +0100
commit9a938a1e915e54861543e4aa3c8723bcbf7325c6 (patch)
tree4d8e47017e036d8b28135de2db23a358ca628656 /utils
parente872fbfb5ea795568017dd97db8fffc827d89da3 (diff)
downloadrspamd-9a938a1e915e54861543e4aa3c8723bcbf7325c6.tar.gz
rspamd-9a938a1e915e54861543e4aa3c8723bcbf7325c6.zip
[Minor] Log bgpdump errors to stderr instead syslog
Diffstat (limited to 'utils')
-rw-r--r--utils/asn.pl2
1 files changed, 1 insertions, 1 deletions
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;