浏览代码

modules/lcr: documentation improvement

- Added note to README about maximum number of gateways.
Juha Heinanen 16 年之前
父节点
当前提交
8c06d350a5
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 5 0
      modules/lcr/README
  2. 9 0
      modules/lcr/doc/lcr_admin.xml

+ 5 - 0
modules/lcr/README

@@ -809,6 +809,11 @@ if (to_any_gw()) {
    Causes lcr module to re-read the contents of gw and lcr tables into
    memory.
 
+   Reload fails if number of gateways is larger than value of constant
+   MAX_NO_OF_GWS in file lcr_mod.h, which defaults to 128. If you have
+   more than 128 gateways, you need to increase the value of this constant
+   and recompile lcr module.
+
    Name: lcr_reload
 
    Parameters: none

+ 9 - 0
modules/lcr/doc/lcr_admin.xml

@@ -1006,6 +1006,15 @@ if (to_any_gw()) {
 			Causes lcr module to re-read the contents of
 			gw and lcr tables into memory.
 		</para>
+		<para>
+			Reload fails if number of
+			gateways is larger than value of constant
+			MAX_NO_OF_GWS in file lcr_mod.h, which
+			defaults to 128.  If you have more than 128
+			gateways, you need
+			to increase the value of this constant and recompile
+			lcr module.
+		</para>
 		<para>
 		Name: <emphasis>lcr_reload</emphasis>
 		</para>