diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-04-07 23:59:30 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-04-07 23:59:30 +0000 |
commit | 86268d1df54914313a1d89993dafbaf2172b37b8 (patch) | |
tree | 17459c517a68c409003faa7fc800a3d06afb6000 /include | |
parent | da272366c369b1d28dd830c4aafe7751e6c2c989 (diff) |
This patch suppress a now unused option. Each database module
have now to be used with a defined IP storage type.
Signed-off-by: Eric Leblond <eric@inl.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/ulogd/db.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/ulogd/db.h b/include/ulogd/db.h index 62819f2..b0b7295 100644 --- a/include/ulogd/db.h +++ b/include/ulogd/db.h @@ -37,10 +37,6 @@ struct db_instance { .u.value = RECONNECT_DEFAULT, \ }, \ { \ - .key = "ip_as_string", \ - .type = CONFIG_TYPE_INT, \ - }, \ - { \ .key = "connect_timeout", \ .type = CONFIG_TYPE_INT, \ }, \ @@ -50,12 +46,11 @@ struct db_instance { .options = CONFIG_OPT_MANDATORY, \ } -#define DB_CE_NUM 5 +#define DB_CE_NUM 4 #define table_ce(x) (x->ces[0]) #define reconnect_ce(x) (x->ces[1]) -#define asstring_ce(x) (x->ces[2]) -#define timeout_ce(x) (x->ces[3]) -#define procedure_ce(x) (x->ces[4]) +#define timeout_ce(x) (x->ces[2]) +#define procedure_ce(x) (x->ces[3]) void ulogd_db_signal(struct ulogd_pluginstance *upi, int signal); int ulogd_db_start(struct ulogd_pluginstance *upi); |