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:
parent
12f27944a5
commit
9d0ba6f162
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue