Correct generation of code for 'noanycast'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-09-09 11:51:38 -07:00
parent 6e8b25f126
commit 6120eba8f9
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2461,6 +2461,7 @@ sub generate_all_acasts() {
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
' else',
' ALL_ACASTS="$(get_interface_acasts $iface)"',
' fi',
' ;;' );
}
@ -2475,13 +2476,13 @@ sub generate_all_acasts() {
' ALL_ACASTS="$ALL_ACASTS $(get_interface_acasts $iface)"',
' else',
' ALL_ACASTS="$(get_interface_acasts $iface)"',
' fi',
' ;;' );
pop_indent;
emit( 'esac');
pop_indent;
emit( 'esac',
'' );
emit( 'done');
}
1;