aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ip_tables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-31 03:54:47 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:28 -0800
commitecb6f85e11627a0fb26a7e2db0d3603c0d602937 (patch)
treec8cd4e23bb646fbab3e0d8f3ddc6535cff297b1d /net/ipv4/netfilter/ip_tables.c
parent[NETFILTER]: Supress some sparse warnings (diff)
downloadlinux-dev-ecb6f85e11627a0fb26a7e2db0d3603c0d602937.tar.xz
linux-dev-ecb6f85e11627a0fb26a7e2db0d3603c0d602937.zip
[NETFILTER]: Use const in struct xt_match, xt_target, xt_table
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/ipv4/netfilter/ip_tables.c')
-rw-r--r--net/ipv4/netfilter/ip_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 982b7f986291..628a6b58ddb8 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -291,7 +291,7 @@ static void trace_packet(struct sk_buff *skb,
unsigned int hook,
const struct net_device *in,
const struct net_device *out,
- char *tablename,
+ const char *tablename,
struct xt_table_info *private,
struct ipt_entry *e)
{