From 9d0ba6f162f01253edaa4b8602f620b1869a71ca Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 16 Jan 2018 23:27:23 +0100 Subject: [PATCH] ip/ipconfig: use 2000::/3 instead of ::/0 for v6 default route the ::/0 route has the bad side effect of breaking v4 connections when theres no default route due to v6 mapped v4 addresses. this might be temporary measure. --- sys/src/cmd/ip/ipconfig/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/ip/ipconfig/main.c b/sys/src/cmd/ip/ipconfig/main.c index c3dd31928..2c2ee09a4 100644 --- a/sys/src/cmd/ip/ipconfig/main.c +++ b/sys/src/cmd/ip/ipconfig/main.c @@ -728,7 +728,7 @@ adddefroute(char *mpoint, uchar *gaddr) if(isv4(gaddr)) fprint(cfd, "add 0 0 %I", gaddr); else - fprint(cfd, "add :: /0 %I", gaddr); + fprint(cfd, "add 2000:: /3 %I", gaddr); close(cfd); }