From e8543b947a61189a7b9629e7c2540487e1a6ab54 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Ritschard Date: Wed, 21 Nov 2007 10:19:35 +0000 Subject: document the fact that port can be specified in table statements inside service sections. ok reyk@ --- usr.sbin/hoststated/hoststated.conf.5 | 10 +++++++--- usr.sbin/relayd/relayd.conf.5 | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/hoststated/hoststated.conf.5 b/usr.sbin/hoststated/hoststated.conf.5 index 906e079c8d7..18c7c9d5ed8 100644 --- a/usr.sbin/hoststated/hoststated.conf.5 +++ b/usr.sbin/hoststated/hoststated.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hoststated.conf.5,v 1.57 2007/11/20 18:24:32 jmc Exp $ +.\" $OpenBSD: hoststated.conf.5,v 1.58 2007/11/21 10:19:34 pyr Exp $ .\" .\" Copyright (c) 2006, 2007 Reyk Floeter .\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 20 2007 $ +.Dd $Mdocdate: November 21 2007 $ .Dt HOSTSTATED.CONF 5 .Os .Sh NAME @@ -327,8 +327,12 @@ for a rdr rule in .Xr pf.conf 5 . It will ensure that multiple connections from the same source are mapped to the same redirection address. -.It Ic table Ar name +.It Xo +.Ic table Ar name Op Ic port Ar port +.Xc Specify the main table to be used. +Optionally supply a port which will +override the real port specification in the table. This is mandatory. .It Ic tag Ar name Automatically tag packets passing through the diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5 index 276c2b39c06..10e6699e20e 100644 --- a/usr.sbin/relayd/relayd.conf.5 +++ b/usr.sbin/relayd/relayd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: relayd.conf.5,v 1.57 2007/11/20 18:24:32 jmc Exp $ +.\" $OpenBSD: relayd.conf.5,v 1.58 2007/11/21 10:19:34 pyr Exp $ .\" .\" Copyright (c) 2006, 2007 Reyk Floeter .\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 20 2007 $ +.Dd $Mdocdate: November 21 2007 $ .Dt HOSTSTATED.CONF 5 .Os .Sh NAME @@ -327,8 +327,12 @@ for a rdr rule in .Xr pf.conf 5 . It will ensure that multiple connections from the same source are mapped to the same redirection address. -.It Ic table Ar name +.It Xo +.Ic table Ar name Op Ic port Ar port +.Xc Specify the main table to be used. +Optionally supply a port which will +override the real port specification in the table. This is mandatory. .It Ic tag Ar name Automatically tag packets passing through the -- cgit v1.2.3