mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-24 16:01:11 +02:00
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:
@@ -2131,7 +2131,9 @@ sub generate_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) {
|
||||
conditionally_add_option $option;
|
||||
|
Reference in New Issue
Block a user