From 61e21de41bba9c046b43e3be07bbda7f563e2f20 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 26 Mar 2013 07:00:16 -0700 Subject: [PATCH] Revert bad hunk from last change. Signed-off-by: Tom Eastep --- 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 f90e873fc..c474f0d71 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -810,7 +810,7 @@ CEOF emit ''; if ( $gateway ) { if ( $family == F_IPV4 ) { - emit qq(run_ip route add $gateway/32 dev $physical table $id); + emit qq(run_ip route replace $gateway/32 dev $physical table $id); emit qq(run_ip route add default via $gateway src $address dev $physical table $id metric $number); } else { emit qq(qt \$IP -6 route del default via $gateway src $address dev $physical table $id metric $number);