Re: relayd.conf man page question

2015-05-15 Thread Jason McIntyre
On Wed, May 06, 2015 at 09:15:17PM +0200, Alex Greif wrote:
 Hi,
 
 while reading the relayd.conf man page, I found the following unclear 
 paragraph:
 ...
 RELAYS
  listen on address [port port] [tls]
 ... If the port option is not specified, the port from the listen on 
 directive will be used.
 
 My question: 
 which *other* listen on directive is meant here? Or is the port mandatory?
 
 
 Thanks,
 ALex.
 

you're right that this bit of text is unclear. can someone clarify it,
please?

jmc



Re: relayd.conf man page question

2015-05-15 Thread Reyk Floeter
On Fri, May 15, 2015 at 08:30:14PM +0100, Jason McIntyre wrote:
 On Wed, May 06, 2015 at 09:15:17PM +0200, Alex Greif wrote:
  Hi,
  
  while reading the relayd.conf man page, I found the following unclear 
  paragraph:
  ...
  RELAYS
   listen on address [port port] [tls]
  ... If the port option is not specified, the port from the listen on 
  directive will be used.
  
  My question: 
  which *other* listen on directive is meant here? Or is the port mandatory?
  
  
  Thanks,
  ALex.
  
 
 you're right that this bit of text is unclear. can someone clarify it,
 please?
 

Clarification: it is a documentation error that was caused by
cut'n'paste (actually kill'n'yank).

OK?

Reyk

Index: relayd.conf.5
===
RCS file: /cvs/src/usr.sbin/relayd/relayd.conf.5,v
retrieving revision 1.162
diff -u -p -u -p -r1.162 relayd.conf.5
--- relayd.conf.5   15 May 2015 19:26:37 -  1.162
+++ relayd.conf.5   15 May 2015 19:59:47 -
@@ -658,17 +658,11 @@ it will be used as a backup if the looku
 Like the previous directive, but for redirections with rdr-to in
 .Xr pf.conf 5 .
 .It Xo
-.Ic listen on Ar address
-.Op Ic port Ar port
+.Ic listen on Ar address Ic port Ar port
 .Op Ic tls
 .Xc
 Specify the address and port for the relay to listen on.
 The relay will accept incoming connections to the specified address.
-If the
-.Ic port
-option is not specified, the port from the
-.Ic listen on
-directive will be used.
 .Pp
 If the
 .Ic tls



relayd.conf man page question

2015-05-06 Thread Alex Greif
Hi,

while reading the relayd.conf man page, I found the following unclear paragraph:
...
RELAYS
 listen on address [port port] [tls]
... If the port option is not specified, the port from the listen on 
directive will be used.

My question: 
which *other* listen on directive is meant here? Or is the port mandatory?


Thanks,
ALex.