summaryrefslogtreecommitdiffstats
path: root/src/stats-mode.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:53 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 18:03:53 +0100
commit05194422ee8fa038d99fe77a2e9d776d25623fd2 (patch)
treea9458ce51126ea0cd813028847521b2ab2903145 /src/stats-mode.c
parentc54c8c9287fc87177daf9b51933f92c7e6402904 (diff)
src: remove register_fds hooks
This patch moves the file descriptor registration after the initialization instead of having a specific hook for this. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r--src/stats-mode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c
index 159bbef..b742c0c 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -191,7 +191,6 @@ static int event_destroy_stats(struct nf_conntrack *ct)
struct ct_mode stats_mode = {
.init = init_stats,
- .register_fds = NULL,
.run = NULL,
.local = local_handler_stats,
.kill = kill_stats,