]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
NFLOG: remove unused option
authorEric Leblond <eric@inl.fr>
Thu, 11 Sep 2008 11:09:52 +0000 (13:09 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Sep 2008 11:09:52 +0000 (13:09 +0200)
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>
input/packet/ulogd_inppkt_NFLOG.c

index ed01f0476deece4a65e1b1e0e14b5e185a732c93..200aab713f331d5d1bf5c132f2c47d56ca7fc57a 100644 (file)
@@ -51,12 +51,6 @@ static struct config_keyset libulog_kset = {
                        .options = CONFIG_OPT_NONE,
                        .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,
@@ -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,