summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-10-13 11:03:39 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:38 +0200
commite9deb08f46327b62cee507b7801df42480c15883 (patch)
tree258db36b86879520abd0a2d049ec6ef4b71edb40
parent686561123987cf6e0759f07715eb38be5ba4d6c5 (diff)
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 <holger@eitzenberger.org>
-rw-r--r--include/ulogd/db.h2
1 files changed, 1 insertions, 1 deletions
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), \