# We could only do this if we dont have a default route with [[ ! $(ip -6 r show default) ]] but
# metric seems to be perfectly good. 6000 because on my home comp,
- # its about 6 times slower to ping google, than the default 1024 metric.
+ # its about 6 times slower to ping google than the default 1024 metric.
+ # See commit 572dd5847440e58481ee2d7b9080 for using an ipv6 test.
iproutecmd="default dev $tun_dev"
exists=true; ip -6 route show $iproutecmd | grep . &>/dev/null || exists=false
if runtest; then e ip -6 route $ip_op $iproutecmd metric 6000; fi