forked from extern/shorewall_code
Remove hard-coded 0.0.0.0/0 from Providers.pm
This commit is contained in:
parent
e5fb8b0a35
commit
1438332bbe
@ -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