From 5f994e906b4ac57679924c3832c5f19babef733d Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 11 Sep 2008 13:09:52 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- input/packet/ulogd_inppkt_NFLOG.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'input/packet') 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 @@ -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, -- cgit v1.2.3