summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sasyncd
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2011-06-23 20:35:22 +0000
committersthen <sthen@openbsd.org>2011-06-23 20:35:22 +0000
commit1916bc224386ee6e7ef0c7b1a99844f71cba0808 (patch)
tree1f2e355496735fb86b4b865d41554d34a6ea9432 /usr.sbin/sasyncd
parentSet pd->af very early in pf_setup_pdesc() since the AF is used in (diff)
downloadwireguard-openbsd-1916bc224386ee6e7ef0c7b1a99844f71cba0808.tar.xz
wireguard-openbsd-1916bc224386ee6e7ef0c7b1a99844f71cba0808.zip
Use a common text explaining how the various configuration parsers using
the standard OpenBSD-style parse.y handle continuing lines with backslashes, paying particular attention to how comments are handled (which can cause nasty side-effects if you're not expecting it). Most wording from jmc@, with suggestions from fgsch@, marc@, Richard Toohey, patrick keshishian and Florian Obser, ok jmc@.
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r--usr.sbin/sasyncd/sasyncd.conf.510
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/sasyncd/sasyncd.conf.5 b/usr.sbin/sasyncd/sasyncd.conf.5
index d060dca464b..2efffd7072c 100644
--- a/usr.sbin/sasyncd/sasyncd.conf.5
+++ b/usr.sbin/sasyncd/sasyncd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sasyncd.conf.5,v 1.17 2010/06/30 00:44:36 kjell Exp $
+.\" $OpenBSD: sasyncd.conf.5,v 1.18 2011/06/23 20:35:22 sthen Exp $
.\"
.\" Copyright (c) 2005 Håkan Olsson. All rights reserved.
.\"
@@ -27,7 +27,7 @@
.\"
.\" Manual page for sasyncd.conf
.\"
-.Dd $Mdocdate: June 30 2010 $
+.Dd $Mdocdate: June 23 2011 $
.Dt SASYNCD.CONF 5
.Os
.Sh NAME
@@ -39,9 +39,13 @@ is the configuration file for the
.Xr sasyncd 8
daemon.
.Pp
+The current line can be extended over multiple lines using a backslash
+.Pq Sq \e .
Comments can be put anywhere in the file using a hash mark
.Pq Sq # ,
-and extends to the end of the current line.
+and extend to the end of the current line.
+Care should be taken when commenting out multi-line text:
+the comment is effective until the end of the entire block.
.Pp
Since the file contains the shared secret key used to encrypt data
between this host and the others,