The number of prefixes can never be negative so use an u_int for this.

This commit is contained in:
Hartmut Brandt 2003-07-29 13:46:43 +00:00
parent 83c6192294
commit f345f5e020

View File

@ -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 */
};