[packages] multiwan: Changed route acquistion to grab everything except default routes.
authorCraig M. Coffee <cmcoffee@gmail.com>
Fri, 30 Jul 2010 06:54:01 +0000 (06:54 +0000)
committerCraig M. Coffee <cmcoffee@gmail.com>
Fri, 30 Jul 2010 06:54:01 +0000 (06:54 +0000)
SVN-Revision: 22415

net/multiwan/Makefile
net/multiwan/files/usr/bin/multiwan

index a9dc36a..94a4dc3 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=multiwan
-PKG_VERSION:=1.0.16
+PKG_VERSION:=1.0.17
 PKG_RELEASE:=0
 
 include $(INCLUDE_DIR)/package.mk
index bfafb60..532d540 100755 (executable)
@@ -661,7 +661,7 @@ ip route flush table 170 > /dev/null 2>&1
 
         for TABLE in 170
         do
-                ip route | grep link | grep -Ev ^default | while read ROUTE
+                ip route | grep -Ev ^default | while read ROUTE
                 do
                 ip route add table $TABLE to $ROUTE
                 done
@@ -748,7 +748,7 @@ ip route flush table $(expr $i + 170) > /dev/null 2>&1
 
         for TABLE in $(expr $i + 170)
         do
-                ip route | grep link | grep -Ev ^default | while read ROUTE
+                ip route | grep -Ev ^default | while read ROUTE
                 do
                 ip route add table $TABLE to $ROUTE
                 done