1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-18 17:27:20 +01:00

clear option "prolog_place" in compiler for iosacl to make sure function CompilerDriver::assembleFwScriptInternal() does not get confused if user switched fw platform

This commit is contained in:
Vadim Kurland 2011-07-06 18:06:11 -07:00
parent bc490dad17
commit bde7cd1043
3 changed files with 9 additions and 4 deletions

View File

@ -110,6 +110,11 @@ QString CompilerDriver_iosacl::assembleFwScript(Cluster *cluster,
options->setStr("prolog_script", options->getStr("iosacl_prolog_script")); options->setStr("prolog_script", options->getStr("iosacl_prolog_script"));
options->setStr("epilog_script", options->getStr("iosacl_epilog_script")); options->setStr("epilog_script", options->getStr("iosacl_epilog_script"));
// we do not offer user a choice of the place where to put prolog
// lines, therefore we can reset this attribute to make sure it
// does not interfere
options->setStr("prolog_place", "");
assembleFwScriptInternal(cluster, fw, cluster_member, assembleFwScriptInternal(cluster, fw, cluster_member,
oscnf, &script_skeleton, &top_comment, "!", true); oscnf, &script_skeleton, &top_comment, "!", true);
return script_skeleton.expand(); return script_skeleton.expand();

View File

@ -2,9 +2,9 @@
# #
# This is automatically generated file. DO NOT MODIFY ! # This is automatically generated file. DO NOT MODIFY !
# #
# Firewall Builder fwb_ipt v5.0.0.3556 # Firewall Builder fwb_ipt v5.0.0.3557
# #
# Generated Tue Jul 5 18:03:29 2011 PDT by vadim # Generated Wed Jul 6 17:48:03 2011 PDT by vadim
# #
# files: * rc.firewall.local /etc/rc.d//rc.firewall.local # files: * rc.firewall.local /etc/rc.d//rc.firewall.local
# #

View File

@ -1,9 +1,9 @@
# #
# This is automatically generated file. DO NOT MODIFY ! # This is automatically generated file. DO NOT MODIFY !
# #
# Firewall Builder fwb_pf v5.0.0.3556 # Firewall Builder fwb_pf v5.0.0.3557
# #
# Generated Tue Jul 5 18:05:39 2011 PDT by vadim # Generated Wed Jul 6 17:49:01 2011 PDT by vadim
# #
# files: * pf_cluster_4_rc.conf.local /etc/pf_cluster_4_rc.conf.local # files: * pf_cluster_4_rc.conf.local /etc/pf_cluster_4_rc.conf.local
# files: pf_cluster_4_pf.conf /etc/pf_cluster_4_pf.conf # files: pf_cluster_4_pf.conf /etc/pf_cluster_4_pf.conf