summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-05-17 00:08:35 +0000
committerderaadt <deraadt@openbsd.org>2015-05-17 00:08:35 +0000
commit542fc88b86b246baf95f16d6ba122e9496f08a25 (patch)
tree78b56b5db527e851d8f2158acda8901a1816770f
parentCall slot_stop() after the play buffer is drained to properly cleanup (diff)
downloadwireguard-openbsd-542fc88b86b246baf95f16d6ba122e9496f08a25.tar.xz
wireguard-openbsd-542fc88b86b246baf95f16d6ba122e9496f08a25.zip
nope, ioctl has not been used for a while
-rw-r--r--sbin/route/route.87
-rw-r--r--sbin/route/route.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 74dc98986e7..f50488c3099 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.8,v 1.75 2015/05/06 07:55:42 mpi Exp $
+.\" $OpenBSD: route.8,v 1.76 2015/05/17 00:08:35 deraadt Exp $
.\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)route.8 8.3 (Berkeley) 3/19/94
.\"
-.Dd $Mdocdate: May 6 2015 $
+.Dd $Mdocdate: May 17 2015 $
.Dt ROUTE 8
.Os
.Sh NAME
@@ -497,9 +497,6 @@ route to the 192.168.5.0/24 network:
.Bl -diag
.It "%s: gateway %s flags %x"
The specified route is being added to or deleted from the tables.
-The values printed are from the routing table entry supplied in the
-.Xr ioctl 2
-call.
If the gateway address used was not the primary address of the gateway
(the first one returned by
.Xr gethostbyname 3 ) ,
diff --git a/sbin/route/route.c b/sbin/route/route.c
index c1445db89f6..077a3b1c774 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.173 2015/03/18 22:31:22 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.174 2015/05/17 00:08:35 deraadt Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -31,7 +31,6 @@
*/
#include <sys/socket.h>
-#include <sys/ioctl.h>
#include <sys/sysctl.h>
#include <net/if.h>