diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-18 06:37:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 22:58:56 (GMT) |
commit | 2b628a0866860d44652362aafe403e5b5895583d (patch) | |
tree | bb548f5ad7b7f932f8a8a52ff1922316750ae0ae /net/netfilter | |
parent | 3ee9e760387c38558df976bc2905959826adf331 (diff) | |
download | linux-fsl-qoriq-2b628a0866860d44652362aafe403e5b5895583d.tar.xz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index 7501258..7851065 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, struct nf_nat_range *range) { struct nlattr *tb[CTA_PROTONAT_MAX+1]; - struct nf_nat_protocol *npt; + const struct nf_nat_protocol *npt; int err; err = nla_parse_nested(tb, CTA_PROTONAT_MAX, attr, protonat_nla_policy); |