While working on my amanda-security.conf, I noticed what looks to be a
typo in the man page. To find the range of TCP ports, would you not use
"amgetconf CONF reserved-*tcp*-port"?

The option does exist. I did not check to see if it works correctly.

The proposed patch for the man page is:

charles@amanda:~/amanda$ git diff
diff --git a/man/xml-source/amanda-security.conf.5.xml 
b/man/xml-source/amanda-security.conf.5.xml
index b59848b1..8bb9bf41 100644
--- a/man/xml-source/amanda-security.conf.5.xml
+++ b/man/xml-source/amanda-security.conf.5.xml
@@ -95,7 +95,7 @@ can use, required for bsdtcp and krb5 auth.
 The range is inclusive</para>
 <para> You can find the range you are configured to use with:</para>
 <programlisting>
-  amgetconf CONF reserved-udp-port
+  amgetconf CONF reserved-tcp-port
 </programlisting>
 </listitem>
   </varlistentry>
charles@amanda:~/amanda$

-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com

Reply via email to