Force address Detection on optional interfaces

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-10-25 14:42:03 -07:00
parent ee8ffc3ceb
commit 0b9387f09c
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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;