mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 23:45:53 +02:00
Force address Detection on optional interfaces
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ee8ffc3ceb
commit
0b9387f09c
@ -282,8 +282,13 @@ sub generate_script_2() {
|
|||||||
'detect_configuration()',
|
'detect_configuration()',
|
||||||
'{' );
|
'{' );
|
||||||
|
|
||||||
my $global_variables = have_global_variables;
|
|
||||||
my $optional_interfaces = find_interfaces_by_option( 'optional' );
|
my $optional_interfaces = find_interfaces_by_option( 'optional' );
|
||||||
|
#
|
||||||
|
# Force address detection for all optional interfaces
|
||||||
|
#
|
||||||
|
get_interface_address( $_ ) for @$optional_interfaces;
|
||||||
|
|
||||||
|
my $global_variables = have_global_variables;
|
||||||
|
|
||||||
push_indent;
|
push_indent;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user