aboutsummaryrefslogtreecommitdiff
path: root/contrib/bsnmp/snmpd/snmpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bsnmp/snmpd/snmpd.h')
-rw-r--r--contrib/bsnmp/snmpd/snmpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bsnmp/snmpd/snmpd.h b/contrib/bsnmp/snmpd/snmpd.h
index 48a7b44a04b2..394a4f4736d6 100644
--- a/contrib/bsnmp/snmpd/snmpd.h
+++ b/contrib/bsnmp/snmpd/snmpd.h
@@ -152,12 +152,12 @@ struct port_input {
int fd; /* socket */
void *id; /* evSelect handle */
- int stream : 1; /* stream socket */
- int cred : 1; /* want credentials */
+ u_int stream : 1; /* stream socket */
+ u_int cred : 1; /* want credentials */
struct sockaddr *peer; /* last received packet */
socklen_t peerlen;
- int priv : 1; /* peer is privileged */
+ u_int priv : 1; /* peer is privileged */
u_char *buf; /* receive buffer */
size_t buflen; /* buffer length */