X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fiptables.c;h=84878fddd29bf5d48d8b531ecff196cd4165315b;hb=05f37b50e75f25b66bafca0ff6af1c496b6eb01d;hp=bc035d9f9e8eb7f42b0d56cb5c5af3f10906d1f6;hpb=35248bcc734467e1f1ae39b4a6470849e57624bf;p=collectd.git diff --git a/src/iptables.c b/src/iptables.c index bc035d9f..84878fdd 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -206,11 +206,6 @@ static int iptables_config (char *key, char *value) } #endif /* IPTABLES_HAVE_READ */ -static void iptables_init (void) -{ - return; -} - static void iptables_write (char *host, char *orig_inst, char *val, char *type) { char *table; @@ -388,7 +383,7 @@ void module_register (void) plugin_register ("ipt_bytes", NULL, NULL, iptables_write_bytes); plugin_register ("ipt_packets", NULL, NULL, iptables_write_packets); #if IPTABLES_HAVE_READ - plugin_register (MODULE_NAME, iptables_init, iptables_read, NULL); + plugin_register (MODULE_NAME, NULL, iptables_read, NULL); cf_register (MODULE_NAME, iptables_config, config_keys, config_keys_num); #endif }