Module: sip-router Branch: master Commit: 779addb9df44434448f78ab17d2daa756d31d3c0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=779addb9...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue Sep 25 11:31:17 2012 +0200
sanity: fix to parameter type in example
---
modules/sanity/README | 6 +++--- modules/sanity/doc/params.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/sanity/README b/modules/sanity/README index b733826..27bcaa1 100644 --- a/modules/sanity/README +++ b/modules/sanity/README @@ -4,7 +4,7 @@ Nils Ohlmeier
iptelorg GmbH
- Copyright © 2006 iptelorg GmbH + Copyright � 2006 iptelorg GmbH __________________________________________________________________
1.1. Overview @@ -84,7 +84,7 @@ Nils Ohlmeier
Example 1. Set default_checks parameter ... -modparam("sanity", "default_checks", "1") +modparam("sanity", "default_checks", 1) ...
1.3.2. uri_checks (integer) @@ -128,7 +128,7 @@ modparam("sanity", "autodrop", 1)
1.4. Functions
-1.4.1. sanity_check([msg_checks [, uri_checks]]) +1.4.1. sanity_check([msg_checks [, uri_checks]])
This function makes a row of sanity checks over the given SIP request. The behavior of the function is also controled by 'autodrop' parameter. diff --git a/modules/sanity/doc/params.xml b/modules/sanity/doc/params.xml index 08258b8..552ec82 100644 --- a/modules/sanity/doc/params.xml +++ b/modules/sanity/doc/params.xml @@ -33,7 +33,7 @@ <title>Set <varname>default_checks</varname> parameter</title> <programlisting> ... -modparam("sanity", "default_checks", "1") +modparam("sanity", "default_checks", 1) ... </programlisting> </example>