From 126c5ccd533b510cf320091f260c0a3c914a5f61 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 15 Sep 2020 15:16:23 -0700 Subject: [PATCH] Include administrative host name in status output Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 6ad965a09..d823ae997 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -884,7 +884,7 @@ sub initialize($;$$$$) { TC_SCRIPT => '', EXPORT => 0, KLUDGEFREE => '', - VERSION => '5.2.7-Beta1', + VERSION => '5.2.8-RC1', CAPVERSION => 50207 , BLACKLIST_LOG_TAG => '', RELATED_LOG_TAG => '', @@ -5683,6 +5683,11 @@ sub process_shorewall_conf( $$ ) { $globals{CONFIGDIR} = $configfile = $file; $globals{CONFIGDIR} =~ s/$product.conf//; + if ( $export ) { + use Sys::Hostname; + $globals{CONFIGDIR} = join( ':', hostname, $globals{CONFIGDIR} ); + } + if ( -r _ ) { open_file $file;