diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-26 14:22:55 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-05-26 14:22:55 +0000 |
commit | db7a478765ea71220fc55a148ee45a61b2ee1126 (patch) | |
tree | b95bb2f5b458fca904c992cb1452e655fa1b1d8d /usr.sbin/pppd/sys-bsd.c | |
parent | fc3311220b9310df2e4f7a5ba81ab5c3ceb29a98 (diff) |
Better message if interface is not available. Hint from Daniel Polak.
ok henning@ jmc@
Diffstat (limited to 'usr.sbin/pppd/sys-bsd.c')
-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; } |