summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@openbsd.org>2000-11-11 01:29:57 +0000
committerbrian <brian@openbsd.org>2000-11-11 01:29:57 +0000
commitd36869b0f2a11c9116dbf99152b045ab5f6ab733 (patch)
treedd1b275b13ee96fba53e3a6bb278211b93a5f2a5
parentimprove spec conformance of node information query (07). (diff)
downloadwireguard-openbsd-d36869b0f2a11c9116dbf99152b045ab5f6ab733.tar.xz
wireguard-openbsd-d36869b0f2a11c9116dbf99152b045ab5f6ab733.zip
Increase M_MAXBUF so that it's greater than HDLCSIZE
-rw-r--r--usr.sbin/ppp/ppp/mbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/mbuf.h b/usr.sbin/ppp/ppp/mbuf.h
index 2c4d14e36c5..8f0dfc71bb3 100644
--- a/usr.sbin/ppp/ppp/mbuf.h
+++ b/usr.sbin/ppp/ppp/mbuf.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $OpenBSD: mbuf.h,v 1.8 2000/02/27 01:38:27 brian Exp $
+ * $OpenBSD: mbuf.h,v 1.9 2000/11/11 01:29:57 brian Exp $
*
* TODO:
*/
@@ -83,7 +83,7 @@ struct mqueue {
#define MB_UNKNOWN 38
#define MB_MAX MB_UNKNOWN
-#define M_MAXLEN (4096 - sizeof(struct mbuf))
+#define M_MAXLEN (4352 - sizeof(struct mbuf)) /* > HDLCSIZE */
struct cmdargs;