]> git.ipfire.org Git - thirdparty/iptables.git/commit
fix loading shared library of ICMPv6 match.
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>
Sat, 15 Apr 2006 03:05:41 +0000 (03:05 +0000)
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>
Sat, 15 Apr 2006 03:05:41 +0000 (03:05 +0000)
commit1f312c2e3ee57eadde7c8bfc12d838aa0f60e99e
treeed961579a804adcfda83945ae0acaf4096c58e2c
parent708e0580573acd24065ad052c096c5020c16dee2
fix loading shared library of ICMPv6 match.

The current ip6tables tries to load libip6t_icmp6.so when user types
'ip6tables -p icmpv6 ...' or 'ip6tables ... -m icmpv6' ...', and it fails.

This patch renames libip6t_icmpv6.c to libip6t_icmp6.c so that ip6tables
can load it. Now kernel module and user library has same name 'icmp6'.
It can reduce confusion about name mismatch. That's why I renamed it
instead of reverting change in find_match() which brought this bug.

This patch keeps compatibiity and we can use '-p icmpv6', '-p ipv6-icmpv6',
'-m icmpv6', '-m ipv6-icmpv6', and '-m icmp6', as ever.
extensions/Makefile
extensions/libip6t_icmp6.c [moved from extensions/libip6t_icmpv6.c with 100% similarity]
extensions/libip6t_icmp6.man [moved from extensions/libip6t_icmpv6.man with 100% similarity]