summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-20 10:33:29 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-02-20 10:33:29 +0000
commit8ae838094ee7c1056b110c01cd2bc687bc18f3ed (patch)
treec25cf3ead971dfac6397a4fa3b11f8f1624acd13
parent05604308abd51b0a29bb63ef57c50f770332466e (diff)
use u_int32_t, not u_int, for DLT_NULL encapsulation. sync with kame
-rw-r--r--sys/net/if_faith.c2
-rw-r--r--sys/net/if_gif.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c
index 6c582a10e6e..1012a420de3 100644
--- a/sys/net/if_faith.c
+++ b/sys/net/if_faith.c
@@ -145,7 +145,7 @@ faithoutput(ifp, m, dst, rt)
* try to free it or keep a pointer a to it).
*/
struct mbuf m0;
- u_int af = dst->sa_family;
+ u_int32_t af = dst->sa_family;
m0.m_next = m;
m0.m_len = 4;
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 8ec194b2efb..91074f0d39c 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gif.c,v 1.12 2001/02/06 03:26:10 mickey Exp $ */
+/* $OpenBSD: if_gif.c,v 1.13 2001/02/20 10:33:28 itojun Exp $ */
/* $KAME: if_gif.c,v 1.32 2000/10/07 03:20:55 itojun Exp $ */
/*
@@ -207,7 +207,7 @@ gif_output(ifp, m, dst, rt)
* try to free it or keep a pointer a to it).
*/
struct mbuf m0;
- u_int af = dst->sa_family;
+ u_int32_t af = dst->sa_family;
m0.m_next = m;
m0.m_len = 4;