[PC-BSD Commits] r592 - pcbsd/trunk/kcmPFManager

svn at pcbsd.org svn at pcbsd.org
Sun Aug 12 08:06:22 PDT 2007


Author: tim
Date: 2007-08-12 08:06:21 -0700 (Sun, 12 Aug 2007)
New Revision: 592

Modified:
   pcbsd/trunk/kcmPFManager/pfaddlg.cpp
Log:
Fixed bug where 'unknown' services would not have their port number listed in the edit exception dialog.

Modified: pcbsd/trunk/kcmPFManager/pfaddlg.cpp
===================================================================
--- pcbsd/trunk/kcmPFManager/pfaddlg.cpp	2007-08-12 14:02:31 UTC (rev 591)
+++ pcbsd/trunk/kcmPFManager/pfaddlg.cpp	2007-08-12 15:06:21 UTC (rev 592)
@@ -66,10 +66,11 @@
     }
     else
     { // The 'edit' mode
+        qDebug(_rule->to_string());
         int item = 0;
     
+        cbServices->setCurrentText(_rule->name());
         txPort->setText(_rule->port());
-        cbServices->setCurrentText(_rule->name());
         // Check the policy
         if ( _rule->policy().compare("block") == 0 )
         {



More information about the Commits mailing list