Updated for better use with ppp and dns requests
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21116 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -601,7 +601,7 @@ ip route flush table 123 > /dev/null 2>&1
|
||||
|
||||
for TABLE in 123
|
||||
do
|
||||
ip route | grep link | while read ROUTE
|
||||
ip route | grep link | grep -Ev ^default | while read ROUTE
|
||||
do
|
||||
ip route add table $TABLE to $ROUTE
|
||||
done
|
||||
@ -657,7 +657,7 @@ ip route flush table $iprule > /dev/null 2>&1
|
||||
|
||||
for TABLE in $iprule
|
||||
do
|
||||
ip route | grep link | while read ROUTE
|
||||
ip route | grep link | grep -Ev ^default | while read ROUTE
|
||||
do
|
||||
ip route add table $TABLE to $ROUTE
|
||||
done
|
||||
|
Reference in New Issue
Block a user