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 e5fb8b0a35
commit 1438332bbe

View File

@ -429,7 +429,7 @@ sub add_a_provider( ) {
if ( $gatewaycase eq 'none' ) { if ( $gatewaycase eq 'none' ) {
if ( $local ) { 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 { } else {
emit "run_ip route add default dev $physical table $number"; emit "run_ip route add default dev $physical table $number";
} }