From e9deb08f46327b62cee507b7801df42480c15883 Mon Sep 17 00:00:00 2001 From: Holger Eitzenberger Date: Tue, 13 Oct 2009 11:03:39 +0200 Subject: db: the 'table' config switch is no longer mandatory With the recent changes to implement a generic database mapping the 'table' attribute became optional. Codify it in the config table. Signed-off-by: Holger Eitzenberger --- include/ulogd/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ulogd/db.h b/include/ulogd/db.h index 7eeeeae..12a6d40 100644 --- a/include/ulogd/db.h +++ b/include/ulogd/db.h @@ -92,7 +92,7 @@ db_has_prepare(const struct db_instance *di) * a commit is forced (or after timer elapsed). */ #define DB_CES \ - CONFIG_KEY("table", STRING, CONFIG_OPT_MANDATORY), \ + CONFIG_KEY("table", STRING, 0), \ CONFIG_KEY("reconnect", INT, 0), \ CONFIG_KEY("ip_as_string", INT, 0), \ CONFIG_KEY("connect_timeout", INT, 0), \ -- cgit v1.2.1