From 90b07d849db0c7b52d567df2e0b4c56c1b1122ee Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 3 May 2009 09:01:33 -0700 Subject: [PATCH] Fix compile for export --- Shorewall/Perl/Shorewall/Compiler.pm | 2 +- Shorewall/changelog.txt | 2 ++ Shorewall/releasenotes.txt | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index 49771ef3d..47863f094 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -837,7 +837,7 @@ sub compiler { # # And generate the auxilary config file # - generate_aux_config if $export; + enable_object, generate_aux_config if $export; } close_log if $log; diff --git a/Shorewall/changelog.txt b/Shorewall/changelog.txt index 002b4d562..aee024b46 100644 --- a/Shorewall/changelog.txt +++ b/Shorewall/changelog.txt @@ -15,6 +15,8 @@ Changes in Shorewall 4.3.10 7) Remove IPMARK support. +8) Fix compile for export. + Changes in Shorewall 4.3.9 1) Logging rules now create separate chain. diff --git a/Shorewall/releasenotes.txt b/Shorewall/releasenotes.txt index 5854dbaca..ffd8f4d15 100644 --- a/Shorewall/releasenotes.txt +++ b/Shorewall/releasenotes.txt @@ -208,6 +208,9 @@ None. /etc/shorewall/masq is now deprecated. Entering the name of an interface there will result in a compile-time warning. +5) Compile for export (such as in the 'shorewall reload' command) + caused the compiler to fail with an internal error. + ---------------------------------------------------------------------------- N E W F E A T U R E S IN 4 . 3 ----------------------------------------------------------------------------