ip/6in4: request ipv4 packets only in ipmux filter
This commit is contained in:
parent
5474646164
commit
29fee6a8ed
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ setup(int *v6net, int *tunp)
|
||||||
/*
|
/*
|
||||||
* gain access to IPv6-in-IPv4 packets via ipmux
|
* 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);
|
outside, IP_IPV6PROTO, IP_ICMPV6PROTO, myip + IPv4off);
|
||||||
if (!anysender)
|
if (!anysender)
|
||||||
seprint(p, buf + sizeof buf, ";src=%V", remote4 + IPv4off);
|
seprint(p, buf + sizeof buf, ";src=%V", remote4 + IPv4off);
|
||||||
|
|
Loading…
Reference in a new issue