summaryrefslogtreecommitdiffstats
path: root/sys/netatm
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-29 13:46:43 +0000
committerharti <harti@FreeBSD.org>2003-07-29 13:46:43 +0000
commite91f1da690d618251c2d00b8f625603de0d0cd48 (patch)
treeb29e8a38442fcc27f3d9db69cf874dd794ae2bfd /sys/netatm
parent788dcc55962de03e4ce09ad2fe064e44f66629f9 (diff)
downloadFreeBSD-src-e91f1da690d618251c2d00b8f625603de0d0cd48.zip
FreeBSD-src-e91f1da690d618251c2d00b8f625603de0d0cd48.tar.gz
The number of prefixes can never be negative so use an u_int for this.
Diffstat (limited to 'sys/netatm')
-rw-r--r--sys/netatm/uni/uniip_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/uniip_var.h b/sys/netatm/uni/uniip_var.h
index 7d7ef3d..fd5129a 100644
--- a/sys/netatm/uni/uniip_var.h
+++ b/sys/netatm/uni/uniip_var.h
@@ -52,7 +52,7 @@ struct uniip {
u_char uip_arpstate; /* ARP interface state (see below) */
struct arpmap uip_arpsvrmap; /* ATMARP server map info */
struct ipvcc *uip_arpsvrvcc; /* ATMARP server's VCC */
- int uip_nprefix; /* Count of IP prefixes (server only) */
+ u_int uip_nprefix; /* Count of IP prefixes (server only) */
struct uniarp_prf *uip_prefix; /* Array of IP prefixes (server only) */
struct atm_time uip_arptime; /* ARP timer controls */
};
OpenPOWER on IntegriCloud