mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
Fix the issue that IPv6 address can't be banned
The ban action doesn't depend on ipfilter.
This commit is contained in:
parent
66f0e6a8f2
commit
799ad0feff
2 changed files with 7 additions and 9 deletions
|
@ -550,7 +550,7 @@ void SyncController::torrentPeersAction()
|
|||
peer[KEY_PEER_COUNTRY] = Net::GeoIPManager::CountryName(pi.country());
|
||||
}
|
||||
|
||||
peers[pi.address().ip.toString() + ':' + QString::number(pi.address().port)] = peer;
|
||||
peers[pi.address().toString()] = peer;
|
||||
}
|
||||
data["peers"] = peers;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue