From: Ian Kelling Date: Tue, 8 Sep 2020 20:09:13 +0000 (-0400) Subject: mail route X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=b71974fa512684a1bf840243d8e07c3168bbe761;p=distro-setup mail route --- diff --git a/mail-route b/mail-route index 2aecfaa..b91bf66 100755 --- a/mail-route +++ b/mail-route @@ -158,7 +158,8 @@ modify() { # 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