diff options
author | Erich Eckner <git@eckner.net> | 2019-02-23 18:03:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-23 18:03:08 +0100 |
commit | 842dd40bc565448b787ddaf856c11e78c2b7150f (patch) | |
tree | b1bff383206db2d18652698380f0fae7ee401405 | |
parent | e66fe8ffe3f862b82085468cff0d6cce87de2bef (diff) | |
download | logwatch-overrides-842dd40bc565448b787ddaf856c11e78c2b7150f.tar.xz |
xntpd: ignore "TIME_ERROR" instead of reporting it
-rw-r--r-- | xntpd | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -91,6 +91,7 @@ while (defined(my $ThisLine = <STDIN>)) { ($ThisLine =~ /^[0-9a-f:]+ local addr [0-9a-f:]+(%\d+)? -> (<null>|[0-9a-f:]+)$/) or ($ThisLine =~ /^Command line: /) or ($ThisLine =~ /^receive: Unexpected origin timestamp 0x[0-9a-f]+\.[0-9a-f]+ does not match aorg 0+\.0+ from server/) or + ($ThisLine =~ /^kernel reports TIME_ERROR: 0x\d+: .*$/ ) or 0 # This line prevents blame shifting as lines are added above ) { # Ignore these @@ -144,8 +145,6 @@ while (defined(my $ThisLine = <STDIN>)) { $Errors{$Error}++; } elsif ( my ($Error) = ($ThisLine =~ /^(giving up resolving host) / )) { $Errors{$Error}++; - } elsif ( my ($Error) = ($ThisLine =~ /^kernel reports (TIME_ERROR: 0x\d+: .*)$/ )) { - $Errors{$Error}++; } elsif ( my ($ConfErr) = ($ThisLine =~ /configure: (keyword "[^"]*" unknown, line ignored)/ )) { $ConfErrs{$ConfErr}++; } elsif ( my ($ConfErr) = ($ThisLine =~ /line \d+ column \d+ syntax error, (.+)$/ )) { |