Bläddra i källkod

maxfwd: max_limit default value set to 70

- recommended value by RFC
- lower value can create issues when terminating to PSTN/ISUP where
  can be used to set the Hop Counter
- patch by Sebastian Damm, FS#418
Daniel-Constantin Mierla 11 år sedan
förälder
incheckning
73c440e87f
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      modules/maxfwd/README
  2. 1 1
      modules/maxfwd/doc/maxfwd_admin.xml
  3. 1 1
      modules/maxfwd/maxfwd.c

+ 1 - 1
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 "16".
+   Default value is "70".
 
    Example 1.1. Set max_limit parameter
 ...

+ 1 - 1
modules/maxfwd/doc/maxfwd_admin.xml

@@ -78,7 +78,7 @@
 		</para>
 		<para>
 		<emphasis>
-			Default value is <quote>16</quote>.
+			Default value is <quote>70</quote>.
 		</emphasis>
 		</para>
 		<example>

+ 1 - 1
modules/maxfwd/maxfwd.c

@@ -55,7 +55,7 @@ struct cfg_group_maxfwd {
 };
 
 static struct cfg_group_maxfwd default_maxfwd_cfg = {
-	.max_limit=16
+	.max_limit=70
 };
 
 static void *maxfwd_cfg = &default_maxfwd_cfg;