summaryrefslogtreecommitdiff
path: root/app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch')
-rw-r--r--app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch b/app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch
new file mode 100644
index 00000000000..a8f9ad09001
--- /dev/null
+++ b/app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch
@@ -0,0 +1,11 @@
+--- a/src/parser/attack_scanner.l
++++ b/src/parser/attack_scanner.l
+@@ -72,7 +72,7 @@
+
+
+ MONTH (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
+-DAYNO [1-9][0-9]?
++DAYNO [0-9][0-9]?
+ HOUR (0|1)[0-9]|2[0-4]
+ MINPS [0-5][0-9]
+ WORD [a-zA-Z0-9][-_a-zA-Z0-9]+