mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 22:30:58 +01:00
Correct generation of code for 'noanycast'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6e8b25f126
commit
6120eba8f9
@ -2461,6 +2461,7 @@ sub generate_all_acasts() {
|
|||||||
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
|
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
|
||||||
' else',
|
' else',
|
||||||
' ALL_ACASTS="$(get_interface_acasts $iface)"',
|
' ALL_ACASTS="$(get_interface_acasts $iface)"',
|
||||||
|
' fi',
|
||||||
' ;;' );
|
' ;;' );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2475,13 +2476,13 @@ sub generate_all_acasts() {
|
|||||||
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
|
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
|
||||||
' else',
|
' else',
|
||||||
' ALL_ACASTS="$(get_interface_acasts $iface)"',
|
' ALL_ACASTS="$(get_interface_acasts $iface)"',
|
||||||
|
' fi',
|
||||||
' ;;' );
|
' ;;' );
|
||||||
|
|
||||||
pop_indent;
|
pop_indent;
|
||||||
|
emit( 'esac');
|
||||||
pop_indent;
|
pop_indent;
|
||||||
emit( 'esac',
|
emit( 'done');
|
||||||
'' );
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user