summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-12-14 13:24:03 +0000
committerbrian <brian@cvs.openbsd.org>2000-12-14 13:24:03 +0000
commit37609cf8f4a43dd4f50acc958e4bf33b29577a96 (patch)
tree6be9ecdde4cccc930f7951df38bee586a4fb4a55 /usr.sbin/ppp
parentb14582e39847ce7604b4312469614ebba9da92a5 (diff)
Display MSCHAP as CHAP80 in ``show cpp''
Display the interface mtu in ``show iface''
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/iface.c6
-rw-r--r--usr.sbin/ppp/ppp/lcp.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ppp/iface.c b/usr.sbin/ppp/ppp/iface.c
index c207406abad..666fc0ed41a 100644
--- a/usr.sbin/ppp/ppp/iface.c
+++ b/usr.sbin/ppp/ppp/iface.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: iface.c,v 1.11 2000/06/19 21:43:41 brian Exp $
+ * $OpenBSD: iface.c,v 1.12 2000/12/14 13:24:02 brian Exp $
*/
#include <sys/param.h>
@@ -507,8 +507,8 @@ iface_Show(struct cmdargs const *arg)
if_flags[f].value);
flags &= ~if_flags[f].flag;
}
- prompt_Printf(arg->prompt, "> has %d address%s:\n", iface->in_addrs,
- iface->in_addrs == 1 ? "" : "es");
+ prompt_Printf(arg->prompt, "> mtu %d has %d address%s:\n", arg->bundle->mtu,
+ iface->in_addrs, iface->in_addrs == 1 ? "" : "es");
for (f = 0; f < iface->in_addrs; f++) {
prompt_Printf(arg->prompt, " %s", inet_ntoa(iface->in_addr[f].ifa));
diff --git a/usr.sbin/ppp/ppp/lcp.c b/usr.sbin/ppp/ppp/lcp.c
index 0d5dbec6f93..563424551b6 100644
--- a/usr.sbin/ppp/ppp/lcp.c
+++ b/usr.sbin/ppp/ppp/lcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $OpenBSD: lcp.c,v 1.23 2000/11/22 02:13:09 brian Exp $
+ * $OpenBSD: lcp.c,v 1.24 2000/12/14 13:24:02 brian Exp $
*
*/
@@ -189,7 +189,7 @@ lcp_ReportStatus(struct cmdargs const *arg)
prompt_Printf(arg->prompt, " CHAP = %s\n",
command_ShowNegval(lcp->cfg.chap05));
#ifdef HAVE_DES
- prompt_Printf(arg->prompt, " MSCHAP = %s\n",
+ prompt_Printf(arg->prompt, " CHAP80 = %s\n",
command_ShowNegval(lcp->cfg.chap80nt));
prompt_Printf(arg->prompt, " LANMan = %s\n",
command_ShowNegval(lcp->cfg.chap80lm));