Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek committed Dec 10, 2024
1 parent f3e1d2f commit 4469aa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ journalctl -u abuseipdb-ufw.service -f

### 📄 Example report
```
Blocked by UFW (TCP on port 80).
Blocked by UFW (TCP on 80)
Source port: 28586
TTL: 116
Packet length: 48
Expand Down
2 changes: 1 addition & 1 deletion README_PL.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ journalctl -u abuseipdb-ufw.service -f

### 📄 Przykładowe zgłoszenie
```
Blocked by UFW (TCP on port 80).
Blocked by UFW (TCP on 80)
Source port: 28586
TTL: 116
Packet length: 48
Expand Down
2 changes: 1 addition & 1 deletion reporter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ is_local_ip() {
report_to_abuseipdb() {
local ip="$1" categories="$2" proto="$3" spt="$4" dpt="$5" ttl="$6" len="$7" tos="$8" timestamp="$9"

local comment="Blocked by UFW ($proto on port $dpt).
local comment="Blocked by UFW ($proto on $dpt)
Source port: $spt"

[[ -n "$ttl" ]] && comment+="
Expand Down

0 comments on commit 4469aa0

Please sign in to comment.