From: /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org Date: Sun, 3 Feb 2008 12:02:20 +0000 (+0000) Subject: From: Pierre Chifflier X-Git-Tag: ulogd-2.0.0beta2~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c265af9fcb631f88655e4c1a36e0da81a342d2c;p=thirdparty%2Fulogd2.git From: Pierre Chifflier Fix incorrect options for PGsql module. --- 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'"