Cleanup
This commit is contained in:
1 parent
7128e99d23
commit
2a2629cd3a
1 file changed
+1
-1
+1
-1
@@ -172,7 +172,7 @@ determine_categories() {
|
||||
process_log_line() {
|
||||
local line="$1"
|
||||
if [[ "$line" == *"[UFW BLOCK]"* ]]; then
|
||||
local timestamp src_ip proto spt dpt ttl len tos categories warsaw_time
|
||||
local timestamp src_ip proto spt dpt ttl len tos categories
|
||||
|
||||
timestamp=$(echo "$line" | awk '{print $1, $2, $3}')
|
||||
[[ -z "$timestamp" ]] && timestamp=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
|
||||
Reference in new issue
Block a user