From: mpi Date: Tue, 16 Aug 2016 08:56:28 +0000 (+0000) Subject: In the IPv6 default route example, use a gateway that corresponds to a X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d096f407cc7edea0a408e5809cfa5bca1d7703d3;p=openbsd 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@ --- 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