diff options
author | harti <harti@FreeBSD.org> | 2003-07-29 13:46:43 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-29 13:46:43 +0000 |
commit | e91f1da690d618251c2d00b8f625603de0d0cd48 (patch) | |
tree | b29e8a38442fcc27f3d9db69cf874dd794ae2bfd /sys | |
parent | 788dcc55962de03e4ce09ad2fe064e44f66629f9 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netatm/uni/uniip_var.h | 2 |
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 */ }; |