From: jmc Date: Tue, 30 Aug 2016 13:56:14 +0000 (+0000) Subject: use a mixture of .Dl and .Bd -compact to reduce the amount of X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a3562c73895018421ce894ff34cdda958e15436;p=openbsd use a mixture of .Dl and .Bd -compact to reduce the amount of vertical whitespace, making it easier to see which hostname.if file relates to which example; --- diff --git a/share/man/man4/pfsync.4 b/share/man/man4/pfsync.4 index 203db3824d3..109c30d0966 100644 --- a/share/man/man4/pfsync.4 +++ b/share/man/man4/pfsync.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pfsync.4,v 1.35 2016/08/29 10:39:59 mpi Exp $ +.\" $OpenBSD: pfsync.4,v 1.36 2016/08/30 13:56:14 jmc Exp $ .\" .\" Copyright (c) 2002 Michael Shalayeff .\" Copyright (c) 2003-2004 Ryan McBride @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 29 2016 $ +.Dd $Mdocdate: August 30 2016 $ .Dt PFSYNC 4 .Os .Sh NAME @@ -154,36 +154,28 @@ The interfaces are configured as follows (firewall A unless otherwise indicated): .Pp .Pa /etc/hostname.sis0 : -.Bd -literal -offset indent -inet 10.0.0.254 255.255.255.0 NONE -.Ed +.Dl inet 10.0.0.254 255.255.255.0 NONE .Pp .Pa /etc/hostname.sis1 : -.Bd -literal -offset indent -inet 192.168.0.254 255.255.255.0 NONE -.Ed +.Dl inet 192.168.0.254 255.255.255.0 NONE .Pp .Pa /etc/hostname.sis2 : -.Bd -literal -offset indent -inet 192.168.254.254 255.255.255.0 NONE -.Ed +.Dl inet 192.168.254.254 255.255.255.0 NONE .Pp .Pa /etc/hostname.carp0 : -.Bd -literal -offset indent +.Bd -literal -offset indent -compact inet 10.0.0.1 255.255.255.0 10.0.0.255 \e vhid 1 carpdev sis0 pass foo .Ed .Pp .Pa /etc/hostname.carp1 : -.Bd -literal -offset indent +.Bd -literal -offset indent -compact inet 192.168.0.1 255.255.255.0 192.168.0.255 \e vhid 2 carpdev sis1 pass bar .Ed .Pp .Pa /etc/hostname.pfsync0 : -.Bd -literal -offset indent -up syncdev sis2 -.Ed +.Dl up syncdev sis2 .Pp .Xr pf 4 must also be configured to allow