]> git.ipfire.org Git - people/stevee/guardian.git/blobdiff - modules/Parser.pm
Adjust Parser and Socket module outputs.
[people/stevee/guardian.git] / modules / Parser.pm
index 86e7aa18df037f13d3b7a8460fb5e907cec4effb..ad55d20085afdee3ec106cc587c6f053e1249ebf 100644 (file)
@@ -31,7 +31,7 @@ sub Parser ($$) {
        my $action = $logfile_parsers{$file}->(@message);
 
        # Return which action should be performed.
-       return $action;
+       return "count $action";
 }
 
 #
@@ -45,7 +45,7 @@ sub message_parser_snort($) {
 
        # XXX
        # Currently this parser just returns a simple message.
-       return "snort_parser_return\n";
+       return "$message[0] SNORT A simple Snort Message";
 }
 
 1;