summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-02-17 00:39:44 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2010-02-17 00:39:44 +0100
commit13c612efc51cf5f8d58423c59323df13739315d6 (patch)
tree225315aa888bacae4f458198934c8089be9c22fd /include
parent8c88b695289c1f3fca604a30e3ca59dd1c957377 (diff)
downloadconntrack-tools-13c612efc51cf5f8d58423c59323df13739315d6.tar.gz
conntrack-tools-13c612efc51cf5f8d58423c59323df13739315d6.zip
conntrackd: fix `conntrackd -c' if external cache is disabled
This patch fixes a hung that occurs if you invoke `conntrackd -c' and you have disabled the external cache. Note that `conntrackd -c' does nothing since there is no entries in the external cache to be committed. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/external.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/external.h b/include/external.h
index 938941a..6619967 100644
--- a/include/external.h
+++ b/include/external.h
@@ -13,7 +13,7 @@ struct external_handler {
void (*dump)(int fd, int type);
void (*flush)(void);
- void (*commit)(struct nfct_handle *h, int fd);
+ int (*commit)(struct nfct_handle *h, int fd);
void (*stats)(int fd);
void (*stats_ext)(int fd);
};