1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 01:37:17 +01:00

bug 2056510 "Compile time" address tables objects dont work

This commit is contained in:
Vadim Kurland 2008-08-18 01:47:56 +00:00
parent 3304512740
commit 61601fe1e3
6 changed files with 5949 additions and 10780 deletions

View File

@ -1,5 +1,11 @@
2008-08-17 Vadim Kurland <vadim@vk.crocodile.org>
* Preprocessor_pf.cpp (Preprocessor_pf::convertObject): fixed bug
#2056510 "Compile time" address tables objects dont
work. Preprocessor in compiler for PF for some reason used to
convert all compile time AddressTable objects to run-time. There
was no mention of this in changelog and no comment in the module.
* RuleSetView.cpp (RuleSetView::copySelectedObject): fixed bug
#2055984: "Negate Objects not work". the problem really was not
related to negated objects, instead, user could not copy an object

View File

@ -701,6 +701,7 @@ int main(int argc, char * const *argv)
Preprocessor_pf* prep = new Preprocessor_pf(
objdb , fwobjectname, ipv6_policy);
if (test_mode) prep->setTestMode();
prep->compile();
list<NATCompiler_pf::redirectRuleInfo> redirect_rules_info;

View File

@ -36,10 +36,5 @@ using namespace std;
void Preprocessor_pf::convertObject(FWObject *obj)
{
Preprocessor::convertObject(obj);
AddressTable *adt = AddressTable::cast(obj);
if (adt!=NULL && adt->isCompileTime())
adt->setRunTime(true);
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE FWObjectDatabase SYSTEM "fwbuilder.dtd">
<FWObjectDatabase xmlns="http://www.fwbuilder.org/1.0/" version="10" lastModified="1219019800" id="root">
<FWObjectDatabase xmlns="http://www.fwbuilder.org/1.0/" version="10" lastModified="1219023782" id="root">
<Library id="sysid99" name="Deleted Objects" ro="False">
<ICMP6Service id="idE0C27650" name="ipv6 dest unreachable" comment="No route to destination" code="0" type="1"/>
<Library id="id40E233F3" name="West Coast" color="#FFFFFF" ro="False">