summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-08-16 08:56:29 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-08-16 08:56:29 +0000
commit754b92c7aeacffb09fe04a38a6bd67048dcf3a18 (patch)
treead3408346863f51680f9a564925094947d99484b /share/man
parenta29ba75e72718151cf318da956e7bc6025b7f91b (diff)
In the IPv6 default route example, use a gateway that corresponds to a
RTF_HOST route and is always on the correct interface. The gateway value doesn't really matter for routes on p2p interfaces but this allow us to tighten the checks when adding RTF_GATEWAY routes. ok stsp@, sthen@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/pppoe.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/pppoe.4 b/share/man/man4/pppoe.4
index 407e1307565..f22b9af9aa5 100644
--- a/share/man/man4/pppoe.4
+++ b/share/man/man4/pppoe.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pppoe.4,v 1.31 2016/04/01 05:47:34 jmc Exp $
+.\" $OpenBSD: pppoe.4,v 1.32 2016/08/16 08:56:28 mpi Exp $
.\" $NetBSD: pppoe.4,v 1.26 2003/10/02 07:06:36 wiz Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 1 2016 $
+.Dd $Mdocdate: August 16 2016 $
.Dt PPPOE 4
.Os
.Sh NAME
@@ -102,7 +102,7 @@ inet 0.0.0.0 255.255.255.255 NONE \e
dest 0.0.0.1
inet6 eui64
!/sbin/route add default -ifp pppoe0 0.0.0.1
-!/sbin/route add -inet6 default -ifp pppoe0 fe80::
+!/sbin/route add -inet6 default -ifp pppoe0 fe80::%pppoe0
.Ed
.Pp
The physical interface must also be marked