summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-11-02 15:21:26 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-11-02 15:21:26 -0700
commit64a63e688a944c6e4dbf05e9fbdfdf1d83efdd0f (patch)
treefb57b0e95717fb51a3365a3c03730fbe14ae7da1
parentf7fa1011234fd664e4ba7d1a7fc4c80308ef0c50 (diff)
prefer ipv4 over ipv6, so pp can ping ca at school wifi
School wifi ipv6 not working, somehow cause pp can't ping ca, not sure why insp can ping ca at school wifi. I don't understand this change also. https://wiki.archlinux.org/title/IPv6#Prefer_IPv4_over_IPv6 https://serverfault.com/questions/93717/setting-ipv4-as-preferred-protocol-over-ipv6 https://kevin-haas.com/posts/how-to-prioritize-ipv4-over-ipv6-on-linux/
-rw-r--r--etc/gai.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/gai.conf b/etc/gai.conf
index 4616ed00..ac96e422 100644
--- a/etc/gai.conf
+++ b/etc/gai.conf
@@ -51,7 +51,7 @@
#
# For sites which prefer IPv4 connections change the last line to
#
-#precedence ::ffff:0:0/96 100
+precedence ::ffff:0:0/96 100
#
# scopev4 <mask> <value>