diff options
author | 2000-12-14 13:24:02 +0000 | |
---|---|---|
committer | 2000-12-14 13:24:02 +0000 | |
commit | a4561fed9e7346f071fac93e923cb5109b9bfab1 (patch) | |
tree | 7df233e4751b0b3d99920990eda0f1bfd05dfaaf | |
parent | Always look for a suitable TDB if the gateway is left unspecified. (diff) | |
download | wireguard-openbsd-a4561fed9e7346f071fac93e923cb5109b9bfab1.tar.xz wireguard-openbsd-a4561fed9e7346f071fac93e923cb5109b9bfab1.zip |
Display MSCHAP as CHAP80 in ``show cpp''
Display the interface mtu in ``show iface''
-rw-r--r-- | usr.sbin/ppp/ppp/iface.c | 6 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/lcp.c | 4 |
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)); |