[NETFILTER]: nf_{conntrack,nat}_sip: annotate SIP helper with const

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Jan Engelhardt 2008-01-31 04:50:25 -08:00 • committed by David S. Miller
commit 13f7d63c29
3 changed files with 18 additions and 17 deletions

View file

@ -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;