mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01: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()',
|
||||
'{' );
|
||||
|
||||
my $global_variables = have_global_variables;
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user