summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2016-10-13 15:20:40 +0000
committerjca <jca@openbsd.org>2016-10-13 15:20:40 +0000
commit6bc5aa9f293abeaf273e6141ceb614b9176ad756 (patch)
tree8c2e408ea5ef4e490a9f90f08532980f9a8d3c46
parentdelete useless call to setlocale(3); while here, polish style: (diff)
downloadwireguard-openbsd-6bc5aa9f293abeaf273e6141ceb614b9176ad756.tar.xz
wireguard-openbsd-6bc5aa9f293abeaf273e6141ceb614b9176ad756.zip
Document the -s option, descr adapted from ospfd/ospfctl
Noticed by Sebastien Leclerc, ok deraadt@
-rw-r--r--usr.sbin/ripctl/ripctl.816
-rw-r--r--usr.sbin/ripd/ripd.87
2 files changed, 19 insertions, 4 deletions
diff --git a/usr.sbin/ripctl/ripctl.8 b/usr.sbin/ripctl/ripctl.8
index 045959ebd48..02376689685 100644
--- a/usr.sbin/ripctl/ripctl.8
+++ b/usr.sbin/ripctl/ripctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ripctl.8,v 1.11 2015/07/27 18:48:05 sobrado Exp $
+.\" $OpenBSD: ripctl.8,v 1.12 2016/10/13 15:20:40 jca Exp $
.\"
.\" Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -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: July 27 2015 $
+.Dd $Mdocdate: October 13 2016 $
.Dt RIPCTL 8
.Os
.Sh NAME
@@ -23,6 +23,7 @@
.Nd control the Routing Information Protocol daemon
.Sh SYNOPSIS
.Nm
+.Op Fl s Ar socket
.Ar command
.Op Ar argument ...
.Sh DESCRIPTION
@@ -36,6 +37,17 @@ Commands may be abbreviated to the minimum unambiguous prefix; for example,
for
.Cm show neighbor .
.Pp
+The following options are available:
+.Bl -tag -width Ds
+.It Fl s Ar socket
+Use
+.Ar socket
+instead of the default
+.Pa /var/run/ripd.sock
+to communicate with
+.Xr ripd 8 .
+.El
+.Pp
The following commands are available:
.Bl -tag -width Ds
.It Cm fib couple
diff --git a/usr.sbin/ripd/ripd.8 b/usr.sbin/ripd/ripd.8
index ac54e9d7241..e6fa858a622 100644
--- a/usr.sbin/ripd/ripd.8
+++ b/usr.sbin/ripd/ripd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ripd.8,v 1.12 2015/07/27 17:28:40 sobrado Exp $
+.\" $OpenBSD: ripd.8,v 1.13 2016/10/13 15:20:40 jca Exp $
.\"
.\" Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
.\" Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -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: July 27 2015 $
+.Dd $Mdocdate: October 13 2016 $
.Dt RIPD 8
.Os
.Sh NAME
@@ -26,6 +26,7 @@
.Op Fl dnv
.Op Fl D Ar macro Ns = Ns Ar value
.Op Fl f Ar file
+.Op Fl s Ar socket
.Sh DESCRIPTION
.Nm
is the Routing Information Protocol
@@ -60,6 +61,8 @@ Specify an alternative configuration file.
.It Fl n
Configtest mode.
Only check the configuration file for validity.
+.It Fl s Ar socket
+Use an alternate location for the default control socket.
.It Fl v
Produce more verbose output.
.El