diff --git a/src/filterParserThread.h b/src/filterParserThread.h index 5ac6c0c86..a78e350d0 100644 --- a/src/filterParserThread.h +++ b/src/filterParserThread.h @@ -220,7 +220,7 @@ class FilterParserThread : public QThread { continue; } // Get IP range - QList IPs = partsList.at(1).split('-'); + QList IPs = partsList.last().split('-'); if(IPs.size() != 2) { qDebug("p2p file: line %d is malformed.", nbLine); continue;