summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35248bc)
raw | patch | inline | side by side (parent: 35248bc)
author | Florian Forster <octo@entwicklung2.office.noris.de> | |
Fri, 16 Mar 2007 10:45:15 +0000 (11:45 +0100) | ||
committer | Florian Forster <octo@entwicklung2.office.noris.de> | |
Fri, 16 Mar 2007 10:45:15 +0000 (11:45 +0100) |
..and it causes the build to fail when `libiptc' wasn't present.
src/iptables.c | patch | blob | history |
diff --git a/src/iptables.c b/src/iptables.c
index bc035d9f9e8eb7f42b0d56cb5c5af3f10906d1f6..84878fddd29bf5d48d8b531ecff196cd4165315b 100644 (file)
--- a/src/iptables.c
+++ b/src/iptables.c
}
#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;
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
}