diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-03-20 21:21:21 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-03-20 21:21:21 +0000 |
commit | 61d19aee329c4adc5010cafae1cdcbffbbb26141 (patch) | |
tree | 1ea74c1b5c9cbe8e308933395ca4be499fefcc23 /net-analyzer/snortalog/files | |
parent | Fix arg to epatch. (diff) | |
download | gentoo-2-61d19aee329c4adc5010cafae1cdcbffbbb26141.tar.gz gentoo-2-61d19aee329c4adc5010cafae1cdcbffbbb26141.tar.bz2 gentoo-2-61d19aee329c4adc5010cafae1cdcbffbbb26141.zip |
fix output both as html and pdf
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/snortalog/files')
-rw-r--r-- | net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff | 13 |
1 files changed, 13 insertions, 0 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 new file mode 100644 index 000000000000..ed3835ad4317 --- /dev/null +++ b/net-analyzer/snortalog/files/snortalog-2.3.0-limit-args.diff @@ -0,0 +1,13 @@ +--- 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 + # |