[sr-dev] git:master:b0f1486f: srdb1: default value set to 0 for number types
Daniel-Constantin Mierla
miconda at gmail.com
Thu May 7 08:20:21 CEST 2020
Module: kamailio
Branch: master
Commit: b0f1486f8a656922aac02020c9e3141639f2ecb9
URL: https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141639f2ecb9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-05-07T08:19:05+02:00
srdb1: default value set to 0 for number types
---
Modified: src/lib/srdb1/schema/secfilter.xml
---
Diff: https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141639f2ecb9.diff
Patch: https://github.com/kamailio/kamailio/commit/b0f1486f8a656922aac02020c9e3141639f2ecb9.patch
---
diff --git a/src/lib/srdb1/schema/secfilter.xml b/src/lib/srdb1/schema/secfilter.xml
index 4edab34e6c..0b3cbc8878 100644
--- a/src/lib/srdb1/schema/secfilter.xml
+++ b/src/lib/srdb1/schema/secfilter.xml
@@ -37,14 +37,14 @@
<column id="action">
<name>action</name>
<type>short</type>
- <default/>
+ <default>0</default>
<description>Action to do (0=blacklisted data, 1=whitelisted data, 2=blacklisted destination).</description>
</column>
<column id="type">
<name>type</name>
<type>short</type>
- <default/>
+ <default>0</default>
<description>Type of data (0=user-agent, 1=country, 2=domain, 3=IP address, 4=user).</description>
</column>
More information about the sr-dev
mailing list