In pf_icmp_mapping() the ICMP and ICMPv6 types shared the same
authorbluhm <bluhm@openbsd.org>
Thu, 5 Aug 2010 17:21:19 +0000 (17:21 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 5 Aug 2010 17:21:19 +0000 (17:21 +0000)
commitef4bccd7509e7afa389cd6f3eddde1ae4d0cd48f
tree230a86d9ca590324a9be238c807c963af586542b
parent249006c8dad06afa197dd96b378039405e7d838b
In pf_icmp_mapping() the ICMP and ICMPv6 types shared the same
number space.  In fact they are independent and must be handled
separately.  Fix traceroute via pf by splitting pf_icmp_mapping()
into IPv4 and IPv6 sections.
ok henning@ mcbride@; tested mcbride@; sure deraadt@
sys/net/pf.c