From 9921fe8f78ca38f51a0510296718a7ff3d99908f Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Mon, 6 Jun 2011 13:32:22 -0700 Subject: [PATCH] see #2481 added an error message for port "!=" operation. Importer still tries to import the rule but marks it as "bad" --- src/import/PFImporter.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/import/PFImporter.cpp b/src/import/PFImporter.cpp index f5fbd0307..bafb08ea5 100644 --- a/src/import/PFImporter.cpp +++ b/src/import/PFImporter.cpp @@ -417,6 +417,13 @@ bool PFImporter::buildTCPUDPObjectSingature(ObjectSignature *sig, return false; } + if (port_op == "!=") + { + error_tracker->registerError( + QObject::tr("'Port not equal' operation " + "is not supported yet.")); + } + sig->port_range_inclusive = true; if (source)