diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-10-12 21:09:22 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-17 17:38:19 +0200 |
commit | f434ed0a00b232efc9843c869d05048c7cd79bb7 (patch) | |
tree | 00d5c83a49f45a9073bc881f52bf7fa9e7d2cdfb /net | |
parent | 6d19375b58763fefc2f215fb45117d3353ced888 (diff) | |
download | op-kernel-dev-f434ed0a00b232efc9843c869d05048c7cd79bb7.zip op-kernel-dev-f434ed0a00b232efc9843c869d05048c7cd79bb7.tar.gz |
netfilter: xt_ipcomp: add "ip[6]t_ipcomp" module alias name
Otherwise, user cannot add related rules if xt_ipcomp.ko is not loaded:
# iptables -A OUTPUT -p 108 -m ipcomp --ipcompspi 1
iptables: No chain/target/match by that name.
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_ipcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/xt_ipcomp.c b/net/netfilter/xt_ipcomp.c index 89d5310..000e703 100644 --- a/net/netfilter/xt_ipcomp.c +++ b/net/netfilter/xt_ipcomp.c @@ -26,6 +26,8 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Fan Du <fan.du@windriver.com>"); MODULE_DESCRIPTION("Xtables: IPv4/6 IPsec-IPComp SPI match"); +MODULE_ALIAS("ipt_ipcomp"); +MODULE_ALIAS("ip6t_ipcomp"); /* Returns 1 if the spi is matched by the range, 0 otherwise */ static inline bool |