Fix mangled date in firewall.conf

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8020 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-01-04 23:20:09 +00:00
parent cb11c504ee
commit f959d54cea
3 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,9 @@ Changes in 4.1.4
1) Fix do_test() to accept 0 and to use the same mask as 1) Fix do_test() to accept 0 and to use the same mask as
Shorewall-shell Shorewall-shell
2) The compilation date recorded in the firewall.conf file produced by
Shorewall-perl was previously mangled.
Changes in 4.1.3 Changes in 4.1.3
1) Fix NFLOG/ULOG upcasing problem. 1) Fix NFLOG/ULOG upcasing problem.

View File

@ -20,6 +20,9 @@ Problems corrected in Shorewall 4.1.4.
Also, the default mask for entries in these columns has been Also, the default mask for entries in these columns has been
changed from 0xFF to 0xFFFF for compatibility with Shorewall-shell. changed from 0xFF to 0xFFFF for compatibility with Shorewall-shell.
2) The compilation date recorded in the firewall.conf file produced by
Shorewall-perl was previously mangled.
Other changes in Shorewall 4.1.3. Other changes in Shorewall 4.1.3.
None. None.

View File

@ -2131,7 +2131,9 @@ sub generate_aux_config() {
create_temp_aux_config; create_temp_aux_config;
emit join ( '', "#\n# Shorewall auxiliary configuration file created by Shorewall-perl version ", $globals{VERSION}, ' - ' , localtime , "\n#" ); my $date = localtime;
emit "#\n# Shorewall auxiliary configuration file created by Shorewall-perl version $globals{VERSION} - $date\n#";
for my $option qw(VERBOSITY LOGFILE LOGFORMAT IPTABLES PATH SHOREWALL_SHELL SUBSYSLOCK LOCKFILE RESTOREFILE SAVE_IPSETS) { for my $option qw(VERBOSITY LOGFILE LOGFORMAT IPTABLES PATH SHOREWALL_SHELL SUBSYSLOCK LOCKFILE RESTOREFILE SAVE_IPSETS) {
conditionally_add_option $option; conditionally_add_option $option;