Remove hard-coded 0.0.0.0/0 from Providers.pm

This commit is contained in:
Tom Eastep 2011-02-13 08:13:22 -08:00
parent c98620e0d0
commit 956e92ef0e

View File

@ -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";
}