summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-04-25 01:19:21 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-04-25 01:19:21 +0000
commit0672e5291e9a6848d9914815aa9b28483207827f (patch)
treea821d4dadf38dcc7b0108d533212cd592aa2ea98 /sys/net
parent850a4089990ad4d1db760b62e707b2dbe4301b08 (diff)
64bit cleanup.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/encap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/encap.c b/sys/net/encap.c
index 8f93473d0a6..1930cb2287a 100644
--- a/sys/net/encap.c
+++ b/sys/net/encap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: encap.c,v 1.2 1997/02/24 13:33:56 niklas Exp $ */
+/* $OpenBSD: encap.c,v 1.3 1997/04/25 01:19:20 angelos Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -147,8 +147,8 @@ encap_output(m, va_alist)
so = va_arg(ap, struct socket *);
va_end(ap);
- if ((m == 0) || ((m->m_len < sizeof(long)) &&
- (m = m_pullup(m, sizeof(long))) == 0))
+ if ((m == 0) || ((m->m_len < sizeof(int32_t)) &&
+ (m = m_pullup(m, sizeof(int32_t))) == 0))
return ENOBUFS;
if ((m->m_flags & M_PKTHDR) == 0)