diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2007-10-11 17:36:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-11 17:36:40 -0400 |
commit | 73aaf9355b71d295fd72dc0b93fcdd275c56648f (patch) | |
tree | 349c5c244999b1235ba0048d2da0715722187ed9 /net | |
parent | 17311393f969090ab060540bd9dbe7dc885a76d5 (diff) |
[NETFILTER]: x_tables: add missing ip6t_modulename aliases
The patch will add MODULE_ALIAS("ip6t_<modulename>") where missing,
otherwise you will get
ip6tables: No chain/target/match by that name
when xt_<modulename> is not already loaded.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_CLASSIFY.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_CONNMARK.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_NOTRACK.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_connbytes.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_connmark.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_dccp.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_sctp.c | 1 | ||||
-rw-r--r-- | net/netfilter/xt_tcpmss.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/net/netfilter/xt_CLASSIFY.c b/net/netfilter/xt_CLASSIFY.c index 519428566829..07a1b9665005 100644 --- a/net/netfilter/xt_CLASSIFY.c +++ b/net/netfilter/xt_CLASSIFY.c | |||
@@ -24,6 +24,7 @@ MODULE_AUTHOR("Patrick McHardy <kaber@trash.net>"); | |||
24 | MODULE_LICENSE("GPL"); | 24 | MODULE_LICENSE("GPL"); |
25 | MODULE_DESCRIPTION("iptables qdisc classification target module"); | 25 | MODULE_DESCRIPTION("iptables qdisc classification target module"); |
26 | MODULE_ALIAS("ipt_CLASSIFY"); | 26 | MODULE_ALIAS("ipt_CLASSIFY"); |
27 | MODULE_ALIAS("ip6t_CLASSIFY"); | ||
27 | 28 | ||
28 | static unsigned int | 29 | static unsigned int |
29 | target(struct sk_buff **pskb, | 30 | target(struct sk_buff **pskb, |
diff --git a/net/netfilter/xt_CONNMARK.c b/net/netfilter/xt_CONNMARK.c index 5a00c5444334..7043c2757e09 100644 --- a/net/netfilter/xt_CONNMARK.c +++ b/net/netfilter/xt_CONNMARK.c | |||
@@ -27,6 +27,7 @@ MODULE_AUTHOR("Henrik Nordstrom <hno@marasytems.com>"); | |||
27 | MODULE_DESCRIPTION("IP tables CONNMARK matching module"); | 27 | MODULE_DESCRIPTION("IP tables CONNMARK matching module"); |
28 | MODULE_LICENSE("GPL"); | 28 | MODULE_LICENSE("GPL"); |
29 | MODULE_ALIAS("ipt_CONNMARK"); | 29 | MODULE_ALIAS("ipt_CONNMARK"); |
30 | MODULE_ALIAS("ip6t_CONNMARK"); | ||
30 | 31 | ||
31 | #include <linux/netfilter/x_tables.h> | 32 | #include <linux/netfilter/x_tables.h> |
32 | #include <linux/netfilter/xt_CONNMARK.h> | 33 | #include <linux/netfilter/xt_CONNMARK.h> |
diff --git a/net/netfilter/xt_NOTRACK.c b/net/netfilter/xt_NOTRACK.c index b7d6312fccc7..fec1aefb1c32 100644 --- a/net/netfilter/xt_NOTRACK.c +++ b/net/netfilter/xt_NOTRACK.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | MODULE_LICENSE("GPL"); | 10 | MODULE_LICENSE("GPL"); |
11 | MODULE_ALIAS("ipt_NOTRACK"); | 11 | MODULE_ALIAS("ipt_NOTRACK"); |
12 | MODULE_ALIAS("ip6t_NOTRACK"); | ||
12 | 13 | ||
13 | static unsigned int | 14 | static unsigned int |
14 | target(struct sk_buff **pskb, | 15 | target(struct sk_buff **pskb, |
diff --git a/net/netfilter/xt_connbytes.c b/net/netfilter/xt_connbytes.c index dd4d79b8fc9d..af79423bc8e8 100644 --- a/net/netfilter/xt_connbytes.c +++ b/net/netfilter/xt_connbytes.c | |||
@@ -14,6 +14,7 @@ MODULE_LICENSE("GPL"); | |||
14 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); | 14 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); |
15 | MODULE_DESCRIPTION("iptables match for matching number of pkts/bytes per connection"); | 15 | MODULE_DESCRIPTION("iptables match for matching number of pkts/bytes per connection"); |
16 | MODULE_ALIAS("ipt_connbytes"); | 16 | MODULE_ALIAS("ipt_connbytes"); |
17 | MODULE_ALIAS("ip6t_connbytes"); | ||
17 | 18 | ||
18 | static bool | 19 | static bool |
19 | match(const struct sk_buff *skb, | 20 | match(const struct sk_buff *skb, |
diff --git a/net/netfilter/xt_connmark.c b/net/netfilter/xt_connmark.c index e73fa9b46cf7..1071fc54d6d3 100644 --- a/net/netfilter/xt_connmark.c +++ b/net/netfilter/xt_connmark.c | |||
@@ -29,6 +29,7 @@ MODULE_AUTHOR("Henrik Nordstrom <hno@marasytems.com>"); | |||
29 | MODULE_DESCRIPTION("IP tables connmark match module"); | 29 | MODULE_DESCRIPTION("IP tables connmark match module"); |
30 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
31 | MODULE_ALIAS("ipt_connmark"); | 31 | MODULE_ALIAS("ipt_connmark"); |
32 | MODULE_ALIAS("ip6t_connmark"); | ||
32 | 33 | ||
33 | static bool | 34 | static bool |
34 | match(const struct sk_buff *skb, | 35 | match(const struct sk_buff *skb, |
diff --git a/net/netfilter/xt_dccp.c b/net/netfilter/xt_dccp.c index 83224ec89cc0..c2b1b24ee335 100644 --- a/net/netfilter/xt_dccp.c +++ b/net/netfilter/xt_dccp.c | |||
@@ -24,6 +24,7 @@ MODULE_LICENSE("GPL"); | |||
24 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); | 24 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); |
25 | MODULE_DESCRIPTION("Match for DCCP protocol packets"); | 25 | MODULE_DESCRIPTION("Match for DCCP protocol packets"); |
26 | MODULE_ALIAS("ipt_dccp"); | 26 | MODULE_ALIAS("ipt_dccp"); |
27 | MODULE_ALIAS("ip6t_dccp"); | ||
27 | 28 | ||
28 | #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ | 29 | #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ |
29 | || (!!((invflag) & (option)) ^ (cond))) | 30 | || (!!((invflag) & (option)) ^ (cond))) |
diff --git a/net/netfilter/xt_sctp.c b/net/netfilter/xt_sctp.c index c002153b80ab..f907770fd4e9 100644 --- a/net/netfilter/xt_sctp.c +++ b/net/netfilter/xt_sctp.c | |||
@@ -13,6 +13,7 @@ MODULE_LICENSE("GPL"); | |||
13 | MODULE_AUTHOR("Kiran Kumar Immidi"); | 13 | MODULE_AUTHOR("Kiran Kumar Immidi"); |
14 | MODULE_DESCRIPTION("Match for SCTP protocol packets"); | 14 | MODULE_DESCRIPTION("Match for SCTP protocol packets"); |
15 | MODULE_ALIAS("ipt_sctp"); | 15 | MODULE_ALIAS("ipt_sctp"); |
16 | MODULE_ALIAS("ip6t_sctp"); | ||
16 | 17 | ||
17 | #ifdef DEBUG_SCTP | 18 | #ifdef DEBUG_SCTP |
18 | #define duprintf(format, args...) printk(format , ## args) | 19 | #define duprintf(format, args...) printk(format , ## args) |
diff --git a/net/netfilter/xt_tcpmss.c b/net/netfilter/xt_tcpmss.c index cd5f6d758c68..84d401bfafad 100644 --- a/net/netfilter/xt_tcpmss.c +++ b/net/netfilter/xt_tcpmss.c | |||
@@ -22,6 +22,7 @@ MODULE_LICENSE("GPL"); | |||
22 | MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>"); | 22 | MODULE_AUTHOR("Marc Boucher <marc@mbsi.ca>"); |
23 | MODULE_DESCRIPTION("iptables TCP MSS match module"); | 23 | MODULE_DESCRIPTION("iptables TCP MSS match module"); |
24 | MODULE_ALIAS("ipt_tcpmss"); | 24 | MODULE_ALIAS("ipt_tcpmss"); |
25 | MODULE_ALIAS("ip6t_tcpmss"); | ||
25 | 26 | ||
26 | static bool | 27 | static bool |
27 | match(const struct sk_buff *skb, | 28 | match(const struct sk_buff *skb, |