Module: kamailio Branch: master Commit: 689854e517a9c4c0907eaaab9e76625bc717ed85 URL: https://github.com/kamailio/kamailio/commit/689854e517a9c4c0907eaaab9e76625b...
Author: Henning Westerholt hw@kamailio.org Committer: Henning Westerholt hw@kamailio.org Date: 2019-01-02T02:26:17+01:00
secfilter: use default read-only DB URL, as the other DB modules (for testing)
---
Modified: src/modules/secfilter/secfilter.c
---
Diff: https://github.com/kamailio/kamailio/commit/689854e517a9c4c0907eaaab9e76625b... Patch: https://github.com/kamailio/kamailio/commit/689854e517a9c4c0907eaaab9e76625b...
---
diff --git a/src/modules/secfilter/secfilter.c b/src/modules/secfilter/secfilter.c index ef1a7f1fb4..5ec680d1b1 100644 --- a/src/modules/secfilter/secfilter.c +++ b/src/modules/secfilter/secfilter.c @@ -61,7 +61,7 @@ static int w_check_sqli_hdr(struct sip_msg *msg, char *val);
/* Exported module parameters - default values */ int secf_dst_exact_match = 1; -str secf_db_url = {NULL, 0}; +str secf_db_url = str_init(DEFAULT_RODB_URL); str secf_table_name = str_init("secfilter"); str secf_action_col = str_init("action"); str secf_type_col = str_init("type");