initscripts-5.75 If we grep 'route -A inet6 | grep ...' output, it might be a good idea to use route -n just in case to avoid possible DNS lookups. Like: --- network-functions-ipv6 Mon Mar 5 23:06:59 2001 +++ network-functions-ipv6.new Wed Mar 14 08:46:54 2001 @@ -393,7 +393,7 @@ return 1 fi # Get all IPv6 routes through given interface and remove them - LC_ALL=C route -A inet6 | grep "::$idtuall_tunnel" | while read ipv6net nexthop flags metric ref use iface args; do + LC_ALL=C route -n -A inet6 | grep "::$idtuall_tunnel" | while read ipv6net nexthop flags metric ref use iface args; do if [ "::$idtuall_tunnel" = "$nexthop" ]; then if echo $flags | grep -v -q "A"; then # Only non addrconf (automatic installed) routes should be removed @@ -536,7 +536,7 @@ fi # Get all IPv6 routes through given interface and remove them - LC_ALL=C route -A inet6 | grep $idall_device | while read ipv6net nexthop flags metric ref use iface args; do + LC_ALL=C route -n -A inet6 | grep $idall_device | while read ipv6net nexthop flags metric ref use iface args; do if [ "$idall_device" = "$iface" ]; then if echo $flags | grep -v -q "A"; then # Only non addrconf (automatic installed) routes should be removed
Fixed in CVS, will show up at some point.