ref: 29fee6a8edab12acceea7bc54e30979477d6a6f7
parent: 54746461641644e24a68cc81c6800c5297852698
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);