phytronFilterIpPortLog.pl: Fix match condition

Wed, 23 Feb 2022 14:53:34 +0100

author
Bernhard.Kuner@bessy.de
date
Wed, 23 Feb 2022 14:53:34 +0100
changeset 2436
714726513a7d
parent 2435
4c75c41ba75f
child 2437
edf7037215c1

phytronFilterIpPortLog.pl: Fix match condition
Ignore-this: c6210b6996808f846ff8f4b7b9eaa1506b3e3288e0dc10a7221c8fd3ebcd5876f8060d856bd3c0cf

bin/phytronFilterIpPortLog.pl file | annotate | diff | comparison | revisions
--- a/bin/phytronFilterIpPortLog.pl	Wed Feb 23 12:45:57 2022 +0100
+++ b/bin/phytronFilterIpPortLog.pl	Wed Feb 23 14:53:34 2022 +0100
@@ -58,8 +58,6 @@
                 $command = "ILLEGAL COMMAND: '$line'\n";
             }
             if( not ($command =~/$ignore/) ) {
-                print "$lineNr\t$timeWrite\twr\t$command\n";
-                $matchFilter = 1;
                 if( $command =~/$filter/) {
                     print "$lineNr\t$timeWrite\twr\t$command\n";
                     $matchFilter = 1;

mercurial