mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 03:34:31 +01:00
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