Module: sip-router
Branch: master
Commit: 0b122416932030c9459f16d46438489b115941aa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0b12241…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 26 10:45:24 2014 +0100
mtree: enahced docs to specify that the mtree parameter can be set many times
---
modules/mtree/README | 5 ++++-
modules/mtree/doc/mtree_admin.xml | 7 ++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/modules/mtree/README b/modules/mtree/README
index 2c0df7b..e49d699 100644
--- a/modules/mtree/README
+++ b/modules/mtree/README
@@ -196,11 +196,14 @@ modparam("mtree", "db_table",
"mymtrees")
multi tells if dbtable can contain more than one tree (0 = one tree, 1
= more than one tree identified by tname column).
+ This parameter can be set many times to add more trees in memory.
+
Default value is "none".
Example 1.3. Set mtree parameter
...
-modparam("mtree", "mtree",
"name=mytree;dbtable=routes;type=0;multi=1")
+modparam("mtree", "mtree",
"name=mytree1;dbtable=routes1;type=0")
+modparam("mtree", "mtree",
"name=mytree2;dbtable=routes2;type=0;multi=1")
...
3.4. tname_column (string)
diff --git a/modules/mtree/doc/mtree_admin.xml b/modules/mtree/doc/mtree_admin.xml
index cc645e7..b008a35 100644
--- a/modules/mtree/doc/mtree_admin.xml
+++ b/modules/mtree/doc/mtree_admin.xml
@@ -105,6 +105,10 @@ modparam("mtree", "db_table",
"mymtrees")
one tree identified by tname column).
</para>
<para>
+ This parameter can be set many times to add more trees in
+ memory.
+ </para>
+ <para>
<emphasis>
Default value is <quote>none</quote>.
</emphasis>
@@ -113,7 +117,8 @@ modparam("mtree", "db_table",
"mymtrees")
<title>Set <varname>mtree</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("mtree", "mtree",
"name=mytree;dbtable=routes;type=0;multi=1")
+modparam("mtree", "mtree",
"name=mytree1;dbtable=routes1;type=0")
+modparam("mtree", "mtree",
"name=mytree2;dbtable=routes2;type=0;multi=1")
...
</programlisting>
</example>