diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 2ed047850..44874639f 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2281,13 +2281,12 @@ sub process_shorewallrc() { if ( $currentline =~ /^([a-zA-Z]\w*)=(.*)$/ ) { my ($var, $val) = ($1, $2); $val = $1 if $val =~ /^\"([^\"]*)\"$/; - expand_variables( $val, 1 ) if supplied $val; + expand_variables( $val, 1 ) if supplied $val && $var ne 'PRODUCT'; $shorewallrc{$var} = $val; } else { fatal_error "Unrecognized shorewallrc entry"; } } - } }