mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Fix the issue that IPv6 address can't be banned
The ban action doesn't depend on ipfilter.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user