|
|
@ -173,7 +173,7 @@ IPTRule* IPTChain::addRule( const TQString& rule_name, KMFError *err, int index
|
|
|
|
KMFError* IPTChain::delRule( IPTRule* rule ) {
|
|
|
|
KMFError* IPTChain::delRule( IPTRule* rule ) {
|
|
|
|
kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl;
|
|
|
|
kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl;
|
|
|
|
if ( m_ruleset.count() < 1 )
|
|
|
|
if ( m_ruleset.count() < 1 )
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
TQString name = rule->name();
|
|
|
|
TQString name = rule->name();
|
|
|
|
if ( m_ruleset.find( rule ) != -1 ) {
|
|
|
|
if ( m_ruleset.find( rule ) != -1 ) {
|
|
|
|