From 4143074561e326d79a7f13e7efbf3d139bf2f9c6 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 24 May 2000 10:20:27 +0000 Subject: MFC: change ifa_refcnt from short to int so that lots of cloned routes from "default" don't overflow it. --- sys/net/if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if.h b/sys/net/if.h index 840fb0e4c73c..2e76e3dd1f94 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -252,7 +252,7 @@ struct ifaddr { void (*ifa_rtrequest) /* check or clean routes (+ or -)'d */ __P((int, struct rtentry *, struct sockaddr *)); u_short ifa_flags; /* mostly rt_flags for cloning */ - short ifa_refcnt; /* extra to malloc for link info */ + u_int ifa_refcnt; /* extra to malloc for link info */ int ifa_metric; /* cost of going out this interface */ #ifdef notdef struct rtentry *ifa_rt; /* XXXX for ROUTETOIF ????? */ -- cgit v1.3