diff options
author | brian <brian@FreeBSD.org> | 1997-06-09 23:38:38 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-06-09 23:38:38 +0000 |
commit | 84d5b39da1c460e6bce8ad3046068d70118f9882 (patch) | |
tree | 8ded736a64ce06d09352ee692a6ef3c0bdc921ab /usr.sbin/ppp/pred.c | |
parent | 582b3b50f380b785f98454d00ed634ba2155a0a1 (diff) | |
download | FreeBSD-src-84d5b39da1c460e6bce8ad3046068d70118f9882.zip FreeBSD-src-84d5b39da1c460e6bce8ad3046068d70118f9882.tar.gz |
Make the man page a little more detailed.
Update the version number to 1.00.
Increase the predictor-1 buffer by 2 bytes.
Diffstat (limited to 'usr.sbin/ppp/pred.c')
-rw-r--r-- | usr.sbin/ppp/pred.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/pred.c b/usr.sbin/ppp/pred.c index 93d2a96..1091870 100644 --- a/usr.sbin/ppp/pred.c +++ b/usr.sbin/ppp/pred.c @@ -5,7 +5,7 @@ /* * - * $Id: pred.c,v 1.11 1997/06/01 11:35:04 brian Exp $ + * $Id: pred.c,v 1.12 1997/06/09 03:27:35 brian Exp $ * * pred.c -- Test program for Dave Rand's rendition of the * predictor algorithm @@ -114,7 +114,7 @@ Pred1Output(int pri, u_short proto, struct mbuf *bp) struct mbuf *mwp; u_char *cp, *wp, *hp; int orglen, len; - u_char bufp[MAX_MTU]; + u_char bufp[MAX_MTU+2]; u_short fcs; orglen = plength(bp) + 2; /* add count of proto */ @@ -158,7 +158,7 @@ struct mbuf *bp; u_char *bufp; u_short fcs, proto; - wp = mballoc(MAX_MTU, MB_IPIN); + wp = mballoc(MAX_MTU+2, MB_IPIN); cp = MBUF_CTOP(bp); olen = plength(bp); pp = bufp = MBUF_CTOP(wp); |