mail route
authorIan Kelling <ian@iankelling.org>
Tue, 8 Sep 2020 20:09:13 +0000 (16:09 -0400)
committerIan Kelling <ian@iankelling.org>
Tue, 8 Sep 2020 20:09:13 +0000 (16:09 -0400)
mail-route

index 2aecfaad6d0f044b68cbcc83a3b7e104841bcf57..b91bf66af439e800b89e2f1187a452c61257dfed 100755 (executable)
@@ -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