From 43a12b88aa7ae018d92815628debe4c924e2b58f Mon Sep 17 00:00:00 2001 From: Lucian Balaceanu Date: Mon, 11 Sep 2017 10:18:17 +0300 Subject: [PATCH] p_usrloc: value checks for db_ops_ruid, db_update_as_insert --- src/modules/p_usrloc/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/p_usrloc/config.c b/src/modules/p_usrloc/config.c index fd04ca63e50..b1b1417fd4c 100644 --- a/src/modules/p_usrloc/config.c +++ b/src/modules/p_usrloc/config.c @@ -46,9 +46,9 @@ cfg_def_t p_usrloc_cfg_def[] = { " Specifies the error value on which a database shall be turned off. "}, {"failover_level", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, "Specifies the manner a failover is done (1 = turn off, 2 = find a spare) "}, - {"db_ops_ruid", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, + {"db_ops_ruid", CFG_VAR_INT | CFG_ATOMIC, 0, 1, 0, 0, "Set this if you want to update / delete from DB using ruid value "}, - {"db_update_as_insert", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, + {"db_update_as_insert", CFG_VAR_INT | CFG_ATOMIC, 0, 1, 0, 0, "Set this parameter if you want to do INSERT DB operations instead of UPDATE DB operations. "}, {0, 0, 0, 0, 0, 0} };