diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-17 22:37:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:58:56 -0800 |
commit | 2b628a0866860d44652362aafe403e5b5895583d (patch) | |
tree | bb548f5ad7b7f932f8a8a52ff1922316750ae0ae /net/ipv4/netfilter/nf_nat_proto_udp.c | |
parent | 3ee9e760387c38558df976bc2905959826adf331 (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/ipv4/netfilter/nf_nat_proto_udp.c')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_proto_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_proto_udp.c b/net/ipv4/netfilter/nf_nat_proto_udp.c index 9c6519cd15f5..10df4db078af 100644 --- a/net/ipv4/netfilter/nf_nat_proto_udp.c +++ b/net/ipv4/netfilter/nf_nat_proto_udp.c @@ -127,7 +127,7 @@ udp_manip_pkt(struct sk_buff *skb, return 1; } -struct nf_nat_protocol nf_nat_protocol_udp = { +const struct nf_nat_protocol nf_nat_protocol_udp = { .name = "UDP", .protonum = IPPROTO_UDP, .me = THIS_MODULE, |