Module: sip-router Branch: master Commit: 8524f32bc07bd121326369f432eb29a257856f41 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8524f32b...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: Mon Feb 18 22:36:45 2013 +0100
maxfwd The default value is not 256, it's 16 in the source code.
---
modules/maxfwd/README | 14 +++++++------- modules/maxfwd/doc/maxfwd_admin.xml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/modules/maxfwd/README b/modules/maxfwd/README index 845a855..764f8f5 100644 --- a/modules/maxfwd/README +++ b/modules/maxfwd/README @@ -107,7 +107,7 @@ Chapter 1. Admin Guide MAX-FORWARDS value allowed by RFC 3261. The value can be changed at runtime.
- Default value is "256". + Default value is "16".
Example 1.1. Set max_limit parameter ... @@ -123,7 +123,7 @@ modparam("maxfwd", "max_limit", 32) 4.5. maxfwd_at_least(max_value) 4.6. mf_lowlimit(max_value)
-4.1. maxfwd_process(max_value) +4.1. maxfwd_process(max_value)
If no Max-Forward header is present in the received request, a header will be added having the original value equal with "max_value". If a @@ -158,15 +158,15 @@ if (!maxfwd_process("10") && $retcode==-1) { }; ...
-4.2. mf_process_maxfwd_header(max_value) +4.2. mf_process_maxfwd_header(max_value)
Same as maxfwd_process(max_value).
-4.3. process_maxfwd(max_value) +4.3. process_maxfwd(max_value)
Same as maxfwd_process(max_value).
-4.4. is_maxfwd_lt(max_value) +4.4. is_maxfwd_lt(max_value)
Checks if the Max-Forward header value is less then the "max_value" parameter value. It considers also the value of the new inserted header @@ -197,10 +197,10 @@ if ( is_maxfwd_lt("1") ) { }; ...
-4.5. maxfwd_at_least(max_value) +4.5. maxfwd_at_least(max_value)
Same as is_maxfwd_lt(max_value).
-4.6. mf_lowlimit(max_value) +4.6. mf_lowlimit(max_value)
Same as is_maxfwd_lt(max_value). diff --git a/modules/maxfwd/doc/maxfwd_admin.xml b/modules/maxfwd/doc/maxfwd_admin.xml index 5fbdc9f..f0f3463 100644 --- a/modules/maxfwd/doc/maxfwd_admin.xml +++ b/modules/maxfwd/doc/maxfwd_admin.xml @@ -78,7 +78,7 @@ </para> <para> <emphasis> - Default value is <quote>256</quote>. + Default value is <quote>16</quote>. </emphasis> </para> <example>