1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 13:34:27 +00:00

- Improved PG2 p2p filter support

This commit is contained in:
Christophe Dumez 2008-05-17 21:55:23 +00:00
parent 7463552dcd
commit d26bebfbe2

View File

@ -220,7 +220,7 @@ class FilterParserThread : public QThread {
continue; continue;
} }
// Get IP range // Get IP range
QList<QByteArray> IPs = partsList.at(1).split('-'); QList<QByteArray> IPs = partsList.last().split('-');
if(IPs.size() != 2) { if(IPs.size() != 2) {
qDebug("p2p file: line %d is malformed.", nbLine); qDebug("p2p file: line %d is malformed.", nbLine);
continue; continue;