Skip to content

Commit

Permalink
Log IP on passive disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Mar 28, 2019
1 parent 1fc6167 commit 04f26df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func (t *Tracker) unassignPool(p *PlayerData) {
if p.isPassive {
t.increaseBanScore(p.conn, true)
if debugMode {
fmt.Printf("[DenyIP] Passive user disconnected: %s\n", p.verificationKey)
fmt.Printf("[DenyIP] Passive user disconnected: %s (IP: %s)\n", p.verificationKey, p.conn.RemoteAddr().String())
}
}

Expand Down

0 comments on commit 04f26df

Please sign in to comment.