aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-18 01:37:36 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:58:56 -0500
commit2b628a0866860d44652362aafe403e5b5895583d (patch)
treebb548f5ad7b7f932f8a8a52ff1922316750ae0ae /net/netfilter
parent3ee9e760387c38558df976bc2905959826adf331 (diff)
[NETFILTER]: nf_nat: mark NAT protocols const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_conntrack_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index 75012585efe..7851065ef20 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -695,7 +695,7 @@ static int nfnetlink_parse_nat_proto(struct nlattr *attr,
695 struct nf_nat_range *range) 695 struct nf_nat_range *range)
696{ 696{
697 struct nlattr *tb[CTA_PROTONAT_MAX+1]; 697 struct nlattr *tb[CTA_PROTONAT_MAX+1];
698 struct nf_nat_protocol *npt; 698 const struct nf_nat_protocol *npt;
699 int err; 699 int err;
700 700
701 err = nla_parse_nested(tb, CTA_PROTONAT_MAX, attr, protonat_nla_policy); 701 err = nla_parse_nested(tb, CTA_PROTONAT_MAX, attr, protonat_nla_policy);