diff options
| -rw-r--r-- | sys/src/cmd/ip/6in4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/6in4.c b/sys/src/cmd/ip/6in4.c index f27c25a04..df3c51270 100644 --- a/sys/src/cmd/ip/6in4.c +++ b/sys/src/cmd/ip/6in4.c @@ -191,7 +191,7 @@ setup(int *v6net, int *tunp) if (*v6net < 0 || fprint(cfd, "bind pkt") < 0) sysfatal("can't bind packet interface: %r"); /* 1280 is MTU, apparently from rfc2460 */ - if (fprint(cfd, "add %I /128 %I 1280", local6, remote6) <= 0) + if (fprint(cfd, "add %I %M %I 1280", local6, localmask, remote6) <= 0) sysfatal("can't set local ipv6 address: %r"); close(cfd); if (debug) |
