Update comment

This commit is contained in:
Sefinek committed 2024-08-20 08:54:11 +02:00
1 parent dd7c8a43d8
commit 718aa1423e
1 file changed
+2 -2
+2 -2
View File
@@ -58,7 +58,7 @@ is_local_ip() {
report_to_abuseipdb() { report_to_abuseipdb() {
local ip="$1" categories="$2" proto="$3" spt="$4" dpt="$5" ttl="$6" len="$7" tos="$8" warsaw_time="$9" local ip="$1" categories="$2" proto="$3" spt="$4" dpt="$5" ttl="$6" len="$7" tos="$8" warsaw_time="$9"
local comment="The IP address was blocked by UFW ($proto on port $dpt). local comment="Blocked by UFW ($proto on port $dpt).
Source port: $spt" Source port: $spt"
[[ -n "$ttl" ]] && comment+=" [[ -n "$ttl" ]] && comment+="
@@ -73,7 +73,7 @@ TOS: $tos"
comment+=" comment+="
Timestamp: $warsaw_time [Europe/Warsaw] Timestamp: $warsaw_time [Europe/Warsaw]
This report (for IP: $ip) was generated by: This report (for: $ip) was generated by:
https://github.com/sefinek24/UFW-AbuseIPDB-Reporter" https://github.com/sefinek24/UFW-AbuseIPDB-Reporter"
local response local response