mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-21 05:41:07 +01:00
Merge branch '4.5.6'
This commit is contained in:
commit
1b1d38a808
@ -1622,14 +1622,13 @@ sub verify_required_interfaces( $ ) {
|
|||||||
my $physical = get_physical $interface;
|
my $physical = get_physical $interface;
|
||||||
|
|
||||||
if ( $physical =~ /\+$/ ) {
|
if ( $physical =~ /\+$/ ) {
|
||||||
my $base = uc chain_base $physical;
|
|
||||||
|
|
||||||
$physical =~ s/\+$/*/;
|
$physical =~ s/\+$/*/;
|
||||||
|
|
||||||
emit( 'for interface in $(find_all_interfaces); do',
|
emit( "waittime=$wait",
|
||||||
|
'',
|
||||||
|
'for interface in $(find_all_interfaces); do',
|
||||||
' case $interface in',
|
' case $interface in',
|
||||||
" $physical)",
|
" $physical)",
|
||||||
" waittime=$wait",
|
|
||||||
' while [ $waittime -gt 0 ]; do',
|
' while [ $waittime -gt 0 ]; do',
|
||||||
' interface_is_usable $interface && break',
|
' interface_is_usable $interface && break',
|
||||||
' sleep 1',
|
' sleep 1',
|
||||||
|
Loading…
Reference in New Issue
Block a user