summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-06-07 16:56:54 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-06-07 16:56:54 +0200
commit29fee6a8edab12acceea7bc54e30979477d6a6f7 (patch)
tree7c59448dee7827899e0d7178419880cfea99080d /sys/src/cmd/ip
parent54746461641644e24a68cc81c6800c5297852698 (diff)
ip/6in4: request ipv4 packets only in ipmux filter
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r--sys/src/cmd/ip/6in4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ip/6in4.c b/sys/src/cmd/ip/6in4.c
index dc16b2d18..3eb2d9a29 100644
--- a/sys/src/cmd/ip/6in4.c
+++ b/sys/src/cmd/ip/6in4.c
@@ -149,7 +149,7 @@ setup(int *v6net, int *tunp)
/*
* gain access to IPv6-in-IPv4 packets via ipmux
*/
- p = seprint(buf, buf + sizeof buf, "%s/ipmux!proto=%2.2x|%2.2x;dst=%V",
+ p = seprint(buf, buf + sizeof buf, "%s/ipmux!ver=4;proto=%2.2x|%2.2x;dst=%V",
outside, IP_IPV6PROTO, IP_ICMPV6PROTO, myip + IPv4off);
if (!anysender)
seprint(p, buf + sizeof buf, ";src=%V", remote4 + IPv4off);