summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ccp.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-10 21:28:04 +0000
committerphk <phk@FreeBSD.org>1996-01-10 21:28:04 +0000
commit525e36ce3e9516d50c97f25c011550e6cfec1edc (patch)
treeefa94c4341ade4773e54c6aeb6ee691faaf4f071 /usr.sbin/ppp/ccp.c
parentb0a5a520276679c2b26968f7d92736114c95cc30 (diff)
downloadFreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.zip
FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.tar.gz
A random bunch of cleanup changes.
Diffstat (limited to 'usr.sbin/ppp/ccp.c')
-rw-r--r--usr.sbin/ppp/ccp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c
index eb7287b..4574247 100644
--- a/usr.sbin/ppp/ccp.c
+++ b/usr.sbin/ppp/ccp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ccp.c,v 1.2 1995/02/26 12:17:14 amurai Exp $
+ * $Id: ccp.c,v 1.3 1995/05/30 03:50:27 rgrimes Exp $
*
* TODO:
* o Support other compression protocols
@@ -86,7 +86,7 @@ ReportCcpStatus()
printf("%s [%s]\n", fp->name, StateNames[fp->state]);
printf("myproto = %s, hisproto = %s\n",
cftypes[icp->want_proto], cftypes[icp->his_proto]);
- printf("Input: %d --> %d, Output: %d --> %d\n",
+ printf("Input: %ld --> %ld, Output: %ld --> %ld\n",
icp->orgin, icp->compin, icp->orgout, icp->compout);
}
@@ -214,9 +214,6 @@ int plen;
int mode;
{
int type, length;
- u_long *lp, compproto;
- struct compreq *pcomp;
- struct in_addr ipaddr, dstipaddr;
char tbuff[100];
ackp = AckBuff;
OpenPOWER on IntegriCloud