From ee666a6d79e3f126c5cf9203cb4ab5a34eac9d33 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 2 May 2006 20:29:32 +0000 Subject: [PATCH] Fix default route generation with explicit GATEWAYs in providers file -- take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3843 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 39481297a..93ff706ef 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -1263,7 +1263,7 @@ __EOF__ if [ "x$gateway" = xdetect ] ; then save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via \$gateway dev $interface weight 1\"" else - save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via \$gateway dev $interface weight 1\"" + save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via $gateway dev $interface weight 1\"" fi ;; loose)