From 2c265af9fcb631f88655e4c1a36e0da81a342d2c Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Sun, 3 Feb 2008 12:02:20 +0000 Subject: From: Pierre Chifflier Fix incorrect options for PGsql module. --- output/pgsql/ulogd_output_PGSQL.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/pgsql/ulogd_output_PGSQL.c b/output/pgsql/ulogd_output_PGSQL.c index 4737d28..6697b64 100644 --- a/output/pgsql/ulogd_output_PGSQL.c +++ b/output/pgsql/ulogd_output_PGSQL.c @@ -78,8 +78,8 @@ static struct config_keyset pgsql_kset = { #define host_ce(x) (x->ces[DB_CE_NUM+1]) #define user_ce(x) (x->ces[DB_CE_NUM+2]) #define pass_ce(x) (x->ces[DB_CE_NUM+3]) -#define port_ce(x) (x->ces[DB_CE_NUM+5]) -#define schema_ce(x) (x->ces[DB_CE_NUM+6]) +#define port_ce(x) (x->ces[DB_CE_NUM+4]) +#define schema_ce(x) (x->ces[DB_CE_NUM+5]) #define PGSQL_HAVE_NAMESPACE_TEMPLATE \ "SELECT nspname FROM pg_namespace n WHERE n.nspname='%s'" -- cgit v1.2.3