mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -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
6ea3acdaea
commit
102d628c0a
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