]> TLD Linux GIT Repositories - packages/shorewall.git/blobdiff - shell-fix.patch
- move get_params after parsing config so it uses proper shell
[packages/shorewall.git] / shell-fix.patch
diff --git a/shell-fix.patch b/shell-fix.patch
new file mode 100644 (file)
index 0000000..5645c8e
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ur shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm
+--- shorewall-5.2.0.4.orig/shorewall-5.2.0.4/Perl/Shorewall/Config.pm  2018-05-18 18:46:49.000000000 +0000
++++ shorewall-5.2.0.4/shorewall-5.2.0.4/Perl/Shorewall/Config.pm       2018-06-20 12:32:04.348554961 +0000
+@@ -6250,10 +6250,10 @@
+       $have_capabilities = 1;
+     }
+-    get_params( $export );
+-
+     process_shorewall_conf( $update, $annotate );
++    get_params( $export );
++
+     ensure_config_path;
+     @INC = @originalinc;