diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-16 23:27:23 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-16 23:27:23 +0100 |
| commit | 9d0ba6f162f01253edaa4b8602f620b1869a71ca (patch) | |
| tree | ad36f801782880e7e13212de4eff98a03aa24f0a | |
| parent | 12f27944a5d3fb160964b8c9e0efbd146408aa5a (diff) | |
| download | plan9front-9d0ba6f162f01253edaa4b8602f620b1869a71ca.tar.xz | |
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.
| -rw-r--r-- | sys/src/cmd/ip/ipconfig/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
