aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/arpt_mangle.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-04-14 11:15:35 +0200
committerPatrick McHardy <kaber@trash.net>2008-04-14 11:15:35 +0200
commit5452e425adfdfc4647b618e303f73d48f2405b0e (patch)
tree7cad164e9517cee49556c6c85e4f40d3c7f6b2b7 /net/ipv4/netfilter/arpt_mangle.c
parent[NETFILTER]: annotate xtables targets with const and remove casts (diff)
downloadlinux-dev-5452e425adfdfc4647b618e303f73d48f2405b0e.tar.xz
linux-dev-5452e425adfdfc4647b618e303f73d48f2405b0e.zip
[NETFILTER]: annotate {arp,ip,ip6,x}tables with const
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/netfilter/arpt_mangle.c')
-rw-r--r--net/ipv4/netfilter/arpt_mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/arpt_mangle.c b/net/ipv4/netfilter/arpt_mangle.c
index 3f4222b0a803..3e732c827fc2 100644
--- a/net/ipv4/netfilter/arpt_mangle.c
+++ b/net/ipv4/netfilter/arpt_mangle.c
@@ -15,7 +15,7 @@ target(struct sk_buff *skb,
const void *targinfo)
{
const struct arpt_mangle *mangle = targinfo;
- struct arphdr *arp;
+ const struct arphdr *arp;
unsigned char *arpptr;
int pln, hln;