diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-04-05 19:02:49 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-04-05 19:02:49 +0000 |
commit | a3e274968fffa47f626713e28929ce940762dbfb (patch) | |
tree | 248686e84b4146c03942e831f93d4e3fef26864d /usr.sbin/ppp/lcp.c | |
parent | f91ad6b0b7c831f92e5a3a47afccf2bc8a0b60e6 (diff) | |
download | src-a3e274968fffa47f626713e28929ce940762dbfb.tar.gz src-a3e274968fffa47f626713e28929ce940762dbfb.zip |
`int var : 1' -> `unsigned var : 1'.
This made things look silly and made us mis-negotiate the
number of VJ slots.
Notes
Notes:
svn path=/cvs2svn/branches/MP/; revision=35048
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 17035f670eab..db8234740f1c 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.55.2.37 1998/04/03 19:26:12 brian Exp $ + * $Id: lcp.c,v 1.55.2.38 1998/04/03 19:26:21 brian Exp $ * * TODO: * o Limit data field length by MRU @@ -149,16 +149,18 @@ lcp_ReportStatus(struct cmdargs const *arg) prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, lcp->fsm.name, State2Nam(lcp->fsm.state)); prompt_Printf(arg->prompt, - " his side: MRU %d, ACCMAP %08lx, PROTOCOMP %d, ACFCOMP %d,\n" + " his side: MRU %d, ACCMAP %08lx, PROTOCOMP %s, ACFCOMP %s,\n" " MAGIC %08lx, REJECT %04x\n", lcp->his_mru, (u_long)lcp->his_accmap, - lcp->his_protocomp, lcp->his_acfcomp, + lcp->his_protocomp ? "on" : "off", + lcp->his_acfcomp ? "on" : "off", (u_long)lcp->his_magic, lcp->his_reject); prompt_Printf(arg->prompt, - " my side: MRU %d, ACCMAP %08lx, PROTOCOMP %d, ACFCOMP %d,\n" + " my side: MRU %d, ACCMAP %08lx, PROTOCOMP %s, ACFCOMP %s,\n" " MAGIC %08lx, REJECT %04x\n", lcp->want_mru, (u_long)lcp->want_accmap, - lcp->want_protocomp, lcp->want_acfcomp, + lcp->want_protocomp ? "on" : "off", + lcp->want_acfcomp ? "on" : "off", (u_long)lcp->want_magic, lcp->my_reject); prompt_Printf(arg->prompt, "\n Defaults: MRU = %d, ", lcp->cfg.mru); |