forked from extern/shorewall_code
Add more progress messages; fix NAT rules in macros
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6221 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c28cb4aad0
commit
3474415660
@ -1668,6 +1668,9 @@ sub create_netfilter_load() {
|
||||
);
|
||||
|
||||
push_indent;
|
||||
|
||||
save_progress_message "Preparing iptables-restore input...";
|
||||
|
||||
#
|
||||
# Establish the values of shell variables used in the following shell commands and/or 'here documents' input.
|
||||
#
|
||||
@ -1736,6 +1739,8 @@ sub create_netfilter_load() {
|
||||
# Now generate the actual iptabes-restore command
|
||||
#
|
||||
emitj( ' exec 3>&-',
|
||||
'',
|
||||
'progress_message2 "Running iptables-restore..."',
|
||||
'',
|
||||
'iptables-restore < ${VARDIR}/.iptables-restore-input'
|
||||
);
|
||||
|
@ -816,7 +816,7 @@ sub process_macro ( $$$$$$$$$$$$ ) {
|
||||
|
||||
$mtarget = find_logactionchain $mtarget;
|
||||
} else {
|
||||
fatal_error "Invalid Action ($mtarget)" unless $actiontype & STANDARD;
|
||||
fatal_error "Invalid Action ($mtarget)" unless $actiontype & ( STANDARD | NATRULE );
|
||||
}
|
||||
|
||||
if ( $msource ) {
|
||||
|
Loading…
Reference in New Issue
Block a user