This CONFIG_IP6_NF_TARGET_REJECT option adds a REJECT target to ip6tables.
Please keep in mind that the icmp-types are different from the icmpv6 types
(see ip6tables -j REJECT -h for more info)
