|
|
@ -118,7 +118,7 @@ void KMFIPTWatcher::queryChainsInTable( const TQString& table, KMFIPTDoc* iptdoc
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
if ( reply_type == TQSTRINGLIST_OBJECT_NAME_STRING ) {
|
|
|
|
if ( reply_type == "TQStringList" ) {
|
|
|
|
TQStringList result;
|
|
|
|
TQStringList result;
|
|
|
|
answer >> result;
|
|
|
|
answer >> result;
|
|
|
|
IPTable *tableObj = iptdoc->table( table );
|
|
|
|
IPTable *tableObj = iptdoc->table( table );
|
|
|
@ -175,7 +175,7 @@ void KMFIPTWatcher::fetchChainPolicy( IPTChain* chain ) {
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
if ( reply_type == TQSTRING_OBJECT_NAME_STRING ) {
|
|
|
|
if ( reply_type == "TQString" ) {
|
|
|
|
TQString result;
|
|
|
|
TQString result;
|
|
|
|
answer >> result;
|
|
|
|
answer >> result;
|
|
|
|
kdDebug() << "Found Chain Policy: " << chain->table()->name() << " " << chain->name() << " " << result << endl;
|
|
|
|
kdDebug() << "Found Chain Policy: " << chain->table()->name() << " " << chain->name() << " " << result << endl;
|
|
|
@ -253,7 +253,7 @@ void KMFIPTWatcher::fetchRulesProperties( IPTRule* rule, int index ) {
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
emit sigUpdateActive( false );
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
TQDataStream answer( reply_data, IO_ReadOnly );
|
|
|
|
if ( reply_type == TQSTRINGLIST_OBJECT_NAME_STRING ) {
|
|
|
|
if ( reply_type == "TQStringList" ) {
|
|
|
|
TQStringList result;
|
|
|
|
TQStringList result;
|
|
|
|
answer >> result;
|
|
|
|
answer >> result;
|
|
|
|
if ( *result.at( 0 ) == "ERROR" ) {
|
|
|
|
if ( *result.at( 0 ) == "ERROR" ) {
|
|
|
|