From d26bebfbe2bf5d0ea97b77a2050333d16767709e Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 17 May 2008 21:55:23 +0000 Subject: [PATCH] - Improved PG2 p2p filter support --- src/filterParserThread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;