diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-05-24 10:20:27 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-05-24 10:20:27 +0000 |
| commit | 4143074561e326d79a7f13e7efbf3d139bf2f9c6 (patch) | |
| tree | 9b606ea8559b8d9bb40a2593adc766dac5078057 | |
| parent | 03545243629602bbfd7f5ae9d6af5d93c9ae4584 (diff) | |
MFC: change ifa_refcnt from short to int so that lots of cloned routes
from "default" don't overflow it.
Notes
svn path=/stable/2.1/; revision=60866
| -rw-r--r-- | sys/net/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 ????? */ |
