diff options
author | 2004-05-26 14:22:54 +0000 | |
---|---|---|
committer | 2004-05-26 14:22:54 +0000 | |
commit | c096b02e4e01510a792def757dfe9ed3911a09da (patch) | |
tree | 8ea7347c03dc4a815aed03729124a6bb67955cad | |
parent | Mention ppp(8) in addition to pppoe(8). Prompted by Daniel Polak. (diff) | |
download | wireguard-openbsd-c096b02e4e01510a792def757dfe9ed3911a09da.tar.xz wireguard-openbsd-c096b02e4e01510a792def757dfe9ed3911a09da.zip |
Better message if interface is not available. Hint from Daniel Polak.
ok henning@ jmc@
-rw-r--r-- | usr.sbin/pppd/sys-bsd.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c index 591db9fe9b4..d461c5c8a0a 100644 --- a/usr.sbin/pppd/sys-bsd.c +++ b/usr.sbin/pppd/sys-bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys-bsd.c,v 1.22 2003/08/19 22:19:07 itojun Exp $ */ +/* $OpenBSD: sys-bsd.c,v 1.23 2004/05/26 14:22:54 otto Exp $ */ /* * sys-bsd.c - System-dependent procedures for setting up @@ -78,7 +78,7 @@ #if 0 static char rcsid[] = "Id: sys-bsd.c,v 1.31 1998/04/02 12:04:19 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.22 2003/08/19 22:19:07 itojun Exp $"; +static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.23 2004/05/26 14:22:54 otto Exp $"; #endif #endif @@ -247,10 +247,8 @@ ppp_available() close(s); no_ppp_msg = "\ -This system lacks kernel support for PPP. To include PPP support\n\ -in the kernel, please add a line\n\ -\tpseudo-device ppp 1\n\ -to your kernel config file and build a new kernel.\n"; +PPP device not available. Make sure the device is created with\n\ +ifconfig and that the kernel supports PPP. See ifconfig(8) and ppp(4)."; return ok; } |