ref: 6c61a044f784774dac21b13e623c315c88d23c8a
parent: d05dbeb9a44c298a01e741c1bffb68591b87b5f5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jun 7 12:56:54 EDT 2020
ip/6in4: request ipv4 packets only in ipmux filter
--- a/sys/src/cmd/ip/6in4.c
+++ b/sys/src/cmd/ip/6in4.c
@@ -149,7 +149,7 @@
/*
* 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);
--
⑨