forked from extern/shorewall_code
Don't add route rules when interface is down
This commit is contained in:
parent
dd543a2934
commit
016537f631
@ -601,7 +601,7 @@ sub add_an_rtrule( ) {
|
||||
|
||||
if ( $optional ) {
|
||||
my $base = uc chain_base( $providers{$provider}{physical} );
|
||||
emit ( '', "if [ -n \$${base}_IS_USABLE ]; then" );
|
||||
emit ( '', qq(if [ -n "\$${base}_IS_USABLE" ]; then) );
|
||||
push_indent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user