summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-09-11 13:09:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-09-11 13:09:52 +0200
commit5f994e906b4ac57679924c3832c5f19babef733d (patch)
tree42a817dba5d75f1d61e8ee2625cb919b238451e1 /input
parentb8026772439ca965f07b5792dfb97f26d8a82b92 (diff)
NFLOG: remove unused option
This patch suppresses the "rmem" configuration variable which was inherited from the original ULOG plugin and which is unused in the NFLOG plugin. Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'input')
-rw-r--r--input/packet/ulogd_inppkt_NFLOG.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/input/packet/ulogd_inppkt_NFLOG.c b/input/packet/ulogd_inppkt_NFLOG.c
index ed01f04..200aab7 100644
--- a/input/packet/ulogd_inppkt_NFLOG.c
+++ b/input/packet/ulogd_inppkt_NFLOG.c
@@ -52,12 +52,6 @@ static struct config_keyset libulog_kset = {
.u.value = NFLOG_GROUP_DEFAULT,
},
{
- .key = "rmem",
- .type = CONFIG_TYPE_INT,
- .options = CONFIG_OPT_NONE,
- .u.value = NFLOG_RMEM_DEFAULT,
- },
- {
.key = "addressfamily",
.type = CONFIG_TYPE_INT,
.options = CONFIG_OPT_NONE,
@@ -104,14 +98,13 @@ static struct config_keyset libulog_kset = {
#define bufsiz_ce(x) (x->ces[0])
#define group_ce(x) (x->ces[1])
-#define rmem_ce(x) (x->ces[2])
-#define af_ce(x) (x->ces[3])
-#define unbind_ce(x) (x->ces[4])
-#define seq_ce(x) (x->ces[5])
-#define seq_global_ce(x) (x->ces[6])
-#define label_ce(x) (x->ces[7])
-#define nlsockbufsize_ce(x) (x->ces[8])
-#define nlsockbufmaxsize_ce(x) (x->ces[9])
+#define af_ce(x) (x->ces[2])
+#define unbind_ce(x) (x->ces[3])
+#define seq_ce(x) (x->ces[4])
+#define seq_global_ce(x) (x->ces[5])
+#define label_ce(x) (x->ces[6])
+#define nlsockbufsize_ce(x) (x->ces[7])
+#define nlsockbufmaxsize_ce(x) (x->ces[8])
enum nflog_keys {
NFLOG_KEY_RAW_MAC = 0,