n_net is unsigned long, not int.
authorJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Sat, 10 May 1986 13:04:06 +0000 (05:04 -0800)
committerJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Sat, 10 May 1986 13:04:06 +0000 (05:04 -0800)
SCCS-vsn: include/netdb.h 5.6

usr/src/include/netdb.h

index 0d268f5..81e6018 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)netdb.h     5.5 (Berkeley) %G%
+ *     @(#)netdb.h     5.6 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -27,10 +27,10 @@ struct      hostent {
  * fits in 32 bits -- probably a poor one.
  */
 struct netent {
  * fits in 32 bits -- probably a poor one.
  */
 struct netent {
-       char    *n_name;        /* official name of net */
-       char    **n_aliases;    /* alias list */
-       int     n_addrtype;     /* net address type */
-       int     n_net;          /* network # */
+       char            *n_name;        /* official name of net */
+       char            **n_aliases;    /* alias list */
+       int             n_addrtype;     /* net address type */
+       unsigned long   n_net;          /* network # */
 };
 
 struct servent {
 };
 
 struct servent {