diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-31 13:50:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-01 04:28:08 +0100 |
commit | 13f7d63c2911c9d1a254d13899986fc801641127 (patch) | |
tree | 65dc3e2389c12d4cc20af41b77f72082166a8d10 /net/ipv4 | |
parent | [NETFILTER]: nf_conntrack_h323: constify and annotate H.323 helper (diff) | |
download | linux-13f7d63c2911c9d1a254d13899986fc801641127.tar.xz linux-13f7d63c2911c9d1a254d13899986fc801641127.zip |
[NETFILTER]: nf_{conntrack,nat}_sip: annotate SIP helper with const
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')
-rw-r--r-- | net/ipv4/netfilter/nf_nat_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/nf_nat_sip.c b/net/ipv4/netfilter/nf_nat_sip.c index 606a170bf4ca..b4c8d4968bb2 100644 --- a/net/ipv4/netfilter/nf_nat_sip.c +++ b/net/ipv4/netfilter/nf_nat_sip.c @@ -35,9 +35,9 @@ struct addr_map { } addr[IP_CT_DIR_MAX]; }; -static void addr_map_init(struct nf_conn *ct, struct addr_map *map) +static void addr_map_init(const struct nf_conn *ct, struct addr_map *map) { - struct nf_conntrack_tuple *t; + const struct nf_conntrack_tuple *t; enum ip_conntrack_dir dir; unsigned int n; |