]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
pgsql: only disable key if it starts with underscore
authorEric Leblond <eric@regit.org>
Wed, 1 Aug 2012 11:27:15 +0000 (11:27 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Aug 2012 09:26:30 +0000 (11:26 +0200)
commit72c935c08d4e414c892fdc3a8aa8163c1c07cebb
treece680172efe206a2e8988ada2e607abef87ee80d
parent008b9b5a2d1242df0d88e4ff2eed2e7918852767
pgsql: only disable key if it starts with underscore

ulogd2 was magically making inactive the first key of description
table. This patch improves this system by only doing so when
the key start with an undescore. This way, system like nfacct which
do not have a primary key can be implemented easily.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
output/pgsql/ulogd_output_PGSQL.c