summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/hdlc.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-01-11 17:48:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-01-11 17:48:59 +0000
commited6a16c1817628e876636bd19662b56620f1a4f7 (patch)
tree97b25e0059b526362e8a00bdfee724ccf226243c /usr.sbin/ppp/hdlc.c
parent5a39b83123277b3da8db6182683fa29b1eef82cd (diff)
downloadsrc-test2-ed6a16c1817628e876636bd19662b56620f1a4f7.tar.gz
src-test2-ed6a16c1817628e876636bd19662b56620f1a4f7.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/hdlc.c')
-rw-r--r--usr.sbin/ppp/hdlc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c
index 74fc55cf84b4..474cf987a2f0 100644
--- a/usr.sbin/ppp/hdlc.c
+++ b/usr.sbin/ppp/hdlc.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: hdlc.c,v 1.5 1995/07/30 15:18:29 gpalmer Exp $
+ * $Id: hdlc.c,v 1.6 1996/01/10 21:27:45 phk Exp $
*
* TODO:
*/
@@ -27,6 +27,9 @@
#include "lcp.h"
#include "lqr.h"
#include "vars.h"
+#include "pred.h"
+#include "modem.h"
+#include "ccp.h"
struct hdlcstat {
int badfcs;
@@ -264,7 +267,7 @@ ReportProtStatus()
printf(" Protocol in out Protocol in out\n");
do {
statp++;
- printf(" %-9s: %8u, %8u",
+ printf(" %-9s: %8lu, %8lu",
statp->name, statp->in_count, statp->out_count);
if (++cnt == 2) {
printf("\n");