path: root/extensions/
diff options
authorYasuyuki KOZAKAI <>2006-04-15 03:05:41 +0000
committerYasuyuki KOZAKAI <>2006-04-15 03:05:41 +0000
commit1f312c2e3ee57eadde7c8bfc12d838aa0f60e99e (patch)
treeed961579a804adcfda83945ae0acaf4096c58e2c /extensions/
parent708e0580573acd24065ad052c096c5020c16dee2 (diff)
fix loading shared library of ICMPv6 match.
The current ip6tables tries to load 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.
Diffstat (limited to 'extensions/')
1 files changed, 14 insertions, 0 deletions
diff --git a/extensions/ b/extensions/
new file mode 100644
index 00000000..20471804
--- /dev/null
+++ b/extensions/
@@ -0,0 +1,14 @@
+This extension is loaded if `--protocol ipv6-icmp' or `--protocol icmpv6' is
+specified. It provides the following option:
+.BR "--icmpv6-type " "[!] \fItype\fP[/\fIcode\fP]|\fItypename\fP"
+This allows specification of the ICMPv6 type, which can be a numeric
+.IR type ,
+.IR type
+.IR code ,
+or one of the ICMPv6 type names shown by the command
+ ip6tables -p ipv6-icmp -h