1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 04:07:55 +01:00

compiling debug prints for the problem reported by dmz@ conditionally

This commit is contained in:
Vadim Kurland 2010-04-07 23:34:17 +00:00
parent 4a41d7dbf0
commit dbc94935f3
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2792
#define BUILD_NUM 2793

View File

@ -2868,16 +2868,16 @@ bool PolicyCompiler_ipt::decideOnChainIfSrcFW::processNext()
return true;
}
#ifdef DEBUG_FOR_DMZ
cerr << endl;
cerr << "PolicyCompiler_ipt::decideOnChainIfSrcFW "
<< " rule " << rule->getLabel()
<< endl;
#endif
Address *src = compiler->correctForCluster(compiler->getFirstSrc(rule));
assert(src);
cerr << endl;
/* Bug 811860: "IPTables Compiler Firewall IP to Input Chain".
* on a bridging firewall rules not associated with interfaces should
* go into INPUT/OUTPUT chain on interfaces that do routing and into