--- /usr/share/shorewall/lib.core.1st	2012-05-28 02:36:18.000000000 +0700
+++ /usr/share/shorewall/lib.core	2012-07-30 12:13:04.000000000 +0700
@@ -907,7 +907,7 @@
 	delta=$1
 
 	if ! echo $route | fgrep -q ' nexthop '; then
-	    route=`echo $route | sed 's/via/nexthop via/'`
+	    route='nexthop '${route}
 	    dev=$(find_device $route)
 	    if [ -f ${VARDIR}/${dev}_weight ]; then
 		weight=`cat ${VARDIR}/${dev}_weight`
