forked from extern/shorewall_code
Remove hard-coded 0.0.0.0/0 from Providers.pm
This commit is contained in:
parent
c98620e0d0
commit
956e92ef0e
@ -429,7 +429,7 @@ sub add_a_provider( ) {
|
||||
|
||||
if ( $gatewaycase eq 'none' ) {
|
||||
if ( $local ) {
|
||||
emit "run_ip route add local 0.0.0.0/0 dev $physical table $number";
|
||||
emit 'run_ip route add local ' . ALLIP . " dev $physical table $number";
|
||||
} else {
|
||||
emit "run_ip route add default dev $physical table $number";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user