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.
This commit is contained in:
cinap_lenrek 2018-01-16 23:27:23 +01:00
parent 12f27944a5
commit 9d0ba6f162

View file

@ -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);
}