summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-05-17 00:21:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-05-17 00:21:13 +0000
commit56ae6ebb9deb279b2f6ae54fac23fdc6829c1d4a (patch)
tree61f38a89a50ad798c1b266f75ba76bbef7e3b47f /sys/net
parenta0654a2deddb43b17d7b134a1ee1b01fb7510fb7 (diff)
crank rt_refcnt to 32 bits, no userland effects
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 2165d8330f6..78e2cb23b8c 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.7 1999/12/08 06:50:18 itojun Exp $ */
+/* $OpenBSD: route.h,v 1.8 2000/05/17 00:21:12 deraadt Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -97,8 +97,7 @@ struct rtentry {
#define rt_mask(r) ((struct sockaddr *)((r)->rt_nodes->rn_mask))
struct sockaddr *rt_gateway; /* value */
u_int rt_flags; /* up/down?, host/net */
- short rt_refcnt; /* # held references */
- short rt_filler; /* XXX */
+ int rt_refcnt; /* # held references */
u_long rt_use; /* raw # packets forwarded */
struct ifnet *rt_ifp; /* the answer: interface to use */
struct ifaddr *rt_ifa; /* the answer: interface to use */