diff options
Diffstat (limited to 'net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff')
-rw-r--r-- | net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff b/net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff deleted file mode 100644 index ed3835ad4317..000000000000 --- a/net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- snortalog.pl.orig 2005-03-20 11:50:08.073875696 +0000 -+++ snortalog.pl 2005-03-20 11:50:15.618728704 +0000 -@@ -347,6 +347,10 @@ - $val_opt_p = $opt{p} if ( $opt_p == 1 ); - $val_opt_g = $opt{g} if ( $opt_g == 1 ); - $val_opt_l = $opt{l} if ( $opt_l == 1 ); -+ if ( $opt_h == 1 && $opt_p == 1) { -+ print "Error: You can only create a pdf or an html file, not both simultaneously.\n"; -+ exit(); -+ } - # - # Test if kind of logs are selected else all arent chosen by default - # |