diff options
author | brian <brian@FreeBSD.org> | 1998-06-27 23:48:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-27 23:48:54 +0000 |
commit | ecefb9d1a210a6c86638b396ea5ece55c433bc66 (patch) | |
tree | 0a77c0e67b7da6215327359880d61c222fd24aa7 /usr.sbin/ppp/hdlc.c | |
parent | 40b850dd415ad2adcddb88549067b23762bce91a (diff) | |
download | FreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.zip FreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.tar.gz |
o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in
multilink mode.
o Do a TLS when we receive a ``Open'' event in ``Closed'' state,
despite the rfc state transition table. This is clearly an
error in the RFC as TLS cannot have yet been called (without
TLF) in the ``Closed'' state.
I've posted a message to comp.protocols.ppp for confirmation.
Diffstat (limited to 'usr.sbin/ppp/hdlc.c')
-rw-r--r-- | usr.sbin/ppp/hdlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index 7fae8bd..d6f113d 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.32 1998/06/15 19:06:09 brian Exp $ + * $Id: hdlc.c,v 1.33 1998/06/16 19:40:37 brian Exp $ * * TODO: */ @@ -62,7 +62,7 @@ #include "filter.h" #include "bundle.h" -static u_short const fcstab[256] = { +static u_int16_t const fcstab[256] = { /* 00 */ 0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf, /* 08 */ 0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7, /* 10 */ 0x1081, 0x0108, 0x3393, 0x221a, 0x56a5, 0x472c, 0x75b7, 0x643e, |