mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-30 01:19:36 +01:00
Handle lines containing only 'INCLUDE'
This commit is contained in:
parent
cdd897e620
commit
d5f3b31032
@ -1424,7 +1424,7 @@ sub copy1( $ ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( $do_indent ) {
|
if ( $do_indent ) {
|
||||||
if ( /^\s*INCLUDE\s/ ) {
|
if ( /^\s*INCLUDE\b/ ) {
|
||||||
my @line = split / /;
|
my @line = split / /;
|
||||||
|
|
||||||
fatal_error "Invalid INCLUDE command" if @line != 2;
|
fatal_error "Invalid INCLUDE command" if @line != 2;
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
Changes in Shorewall 4.4.17 Beta 1
|
Changes in Shorewall 4.4.17 Beta 1
|
||||||
|
|
||||||
|
1) Handle line containing only INCLUDE.
|
||||||
|
|
||||||
|
Changes in Shorewall 4.4.17 Beta 1
|
||||||
|
|
||||||
1) Improve readability of logging logic in expand_rule().
|
1) Improve readability of logging logic in expand_rule().
|
||||||
|
|
||||||
2) Improve efficency of oddball targets in process_rule1().
|
2) Improve efficency of oddball targets in process_rule1().
|
||||||
|
@ -14,6 +14,14 @@ VI. PROBLEMS CORRECTED AND NEW FEATURES IN PRIOR RELEASES
|
|||||||
I. P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
|
I. P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Beta 2
|
||||||
|
|
||||||
|
1) A line containing only 'INCLUDE' appearing in an extension script
|
||||||
|
now generates a compile-time diagnostic rather than a run-time
|
||||||
|
diagnostic.
|
||||||
|
|
||||||
|
Beta 1
|
||||||
|
|
||||||
1) Previously, a 'done.' message could be printed at the end of
|
1) Previously, a 'done.' message could be printed at the end of
|
||||||
command processing even when the command had failed. Now, such a
|
command processing even when the command had failed. Now, such a
|
||||||
message only appears if the command completed successfully.
|
message only appears if the command completed successfully.
|
||||||
|
Loading…
Reference in New Issue
Block a user