summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/pred.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-06-02 15:59:09 +0000
committerBrian Somers <brian@FreeBSD.org>1999-06-02 15:59:09 +0000
commit411675bae35766a6137a33683240c043896ea3da (patch)
treeed7035ac811f6d1f9c1fd070386dd2caced8bb08 /usr.sbin/ppp/pred.c
parent3f9d7b80b279741348818efdc101dc225e85a2ef (diff)
Notes
Diffstat (limited to 'usr.sbin/ppp/pred.c')
-rw-r--r--usr.sbin/ppp/pred.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/pred.c b/usr.sbin/ppp/pred.c
index df4d604c9e35..1982caeb1d3a 100644
--- a/usr.sbin/ppp/pred.c
+++ b/usr.sbin/ppp/pred.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pred.c,v 1.25 1999/05/08 11:07:28 brian Exp $
+ * $Id: pred.c,v 1.26 1999/05/09 20:02:25 brian Exp $
*/
#include <sys/types.h>
@@ -180,7 +180,7 @@ Pred1Output(void *v, struct ccp *ccp, struct link *l, int pri, u_short *proto,
u_short fcs;
orglen = mbuf_Length(bp) + 2; /* add count of proto */
- mwp = mbuf_Alloc((orglen + 2) / 8 * 9 + 12, MB_HDLCOUT);
+ mwp = mbuf_Alloc((orglen + 2) / 8 * 9 + 12, MB_CCPOUT);
hp = wp = MBUF_CTOP(mwp);
cp = bufp;
*wp++ = *cp++ = orglen >> 8;
@@ -221,7 +221,7 @@ Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp)
u_char *bufp;
u_short fcs;
- wp = mbuf_Alloc(MAX_MRU + 2, MB_IPIN);
+ wp = mbuf_Alloc(MAX_MRU + 2, MB_CCPIN);
cp = MBUF_CTOP(bp);
olen = mbuf_Length(bp);
pp = bufp = MBUF_CTOP(wp);