summaryrefslogtreecommitdiff
path: root/src/stats-mode.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-02-19 23:04:49 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-02-19 23:04:49 +0000
commit13f4c15f214dd807899c10ebdff74ab5148d650f (patch)
tree50bbeb5ef948e29b40fd2a2833f0b68189fd2a1f /src/stats-mode.c
parent426f53894b8ced42130425c196aea38d115e9e18 (diff)
downloadconntrack-tools-13f4c15f214dd807899c10ebdff74ab5148d650f.tar.gz
conntrack-tools-13f4c15f214dd807899c10ebdff74ab5148d650f.zip
compose the file descriptor set at initialization stage to save some cycles
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r--src/stats-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c
index b6ae2bd..42fa35a 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -181,7 +181,7 @@ static int event_destroy_stats(struct nf_conntrack *ct)
struct ct_mode stats_mode = {
.init = init_stats,
- .add_fds_to_set = NULL,
+ .register_fds = NULL,
.run = NULL,
.local = local_handler_stats,
.kill = kill_stats,