diff options
author | brian <brian@FreeBSD.org> | 1999-05-15 02:24:18 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-05-15 02:24:18 +0000 |
commit | 891aeb93bc0c41a7c59adbdb8a76e5f24510c0e3 (patch) | |
tree | 4fba331e9b0905482ec96b0e860423a3a9947b4a /usr.sbin/ppp/command.c | |
parent | c0bdb16af0991ca8eae6bcf9edd0802e9507bf5a (diff) | |
download | FreeBSD-src-891aeb93bc0c41a7c59adbdb8a76e5f24510c0e3.zip FreeBSD-src-891aeb93bc0c41a7c59adbdb8a76e5f24510c0e3.tar.gz |
Add ``show layers'' to see the protocol layering for a link.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 159b148..c6b8d20 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: command.c,v 1.192 1999/05/08 11:06:21 brian Exp $ + * $Id: command.c,v 1.193 1999/05/12 09:48:44 brian Exp $ * */ #include <sys/param.h> @@ -143,7 +143,7 @@ #define NEG_DNS 52 const char Version[] = "2.21"; -const char VersionDate[] = "$Date: 1999/05/08 11:06:21 $"; +const char VersionDate[] = "$Date: 1999/05/12 09:48:44 $"; static int ShowCommand(struct cmdargs const *); static int TerminalCommand(struct cmdargs const *); @@ -757,6 +757,8 @@ static struct cmdtab const ShowCommands[] = { "Interface status", "show iface"}, {"ipcp", NULL, ipcp_Show, LOCAL_AUTH, "IPCP status", "show ipcp"}, + {"layers", NULL, link_ShowLayers, LOCAL_AUTH | LOCAL_CX_OPT, + "Protocol layers", "show layers"}, {"lcp", NULL, lcp_ReportStatus, LOCAL_AUTH | LOCAL_CX, "LCP status", "show lcp"}, {"link", "datalink", datalink_Show, LOCAL_AUTH | LOCAL_CX, |