diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-12-14 19:51:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-01-10 01:54:45 +0100 |
commit | f33b72ca969994384a5db6122f8c85e62cfc46ce (patch) | |
tree | 8c2a59fbcfeabda666f7d99c672c65c185dfe189 /include | |
parent | 75a7cd3c722e1abca14fc375bec8ab30c34ab284 (diff) | |
download | conntrack-tools-f33b72ca969994384a5db6122f8c85e62cfc46ce.tar.gz conntrack-tools-f33b72ca969994384a5db6122f8c85e62cfc46ce.zip |
conntrackd: constify ct parameter of ct_filter_* functions
The ct object that is passed as parameter is not modified,
make it constant.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter.h b/include/filter.h index 72c2aa4..f19b18b 100644 --- a/include/filter.h +++ b/include/filter.h @@ -50,6 +50,6 @@ void ct_filter_add_state(struct ct_filter *f, int protonum, int state); void ct_filter_set_logic(struct ct_filter *f, enum ct_filter_type type, enum ct_filter_logic logic); -int ct_filter_conntrack(struct nf_conntrack *ct, int userspace); +int ct_filter_conntrack(const struct nf_conntrack *ct, int userspace); #endif |