From 956e92ef0e8b91bc120c1b77a0c76d01e6a1db64 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 13 Feb 2011 08:13:22 -0800 Subject: [PATCH] Remove hard-coded 0.0.0.0/0 from Providers.pm --- Shorewall/Perl/Shorewall/Providers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 1085b7ef7..72407177a 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -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"; }