summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-12-07 09:50:52 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-12-07 09:50:52 +0000
commit31554520542dd5f92ce73cde2156304054423b5b (patch)
treedd1509803e5d3d2421be54c4f1225495648ddcd2 /usr.sbin/snmpd/snmpd.h
parentf88bca2dd82801eebb72c91e1370c419b83d5b4f (diff)
add a new 'd' format to ber_printf_elements to pass ints instead of
long longs; you have to pass the right type with vargs. this finally fixes the previous problem on i386. discussed with claudio
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r--usr.sbin/snmpd/snmpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h
index 64ff3856988..c253b26af18 100644
--- a/usr.sbin/snmpd/snmpd.h
+++ b/usr.sbin/snmpd/snmpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpd.h,v 1.2 2007/12/05 22:52:50 reyk Exp $ */
+/* $OpenBSD: snmpd.h,v 1.3 2007/12/07 09:50:51 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -243,7 +243,7 @@ struct oid {
*/
struct snmp_message {
- u_int8_t sm_version;
+ u_int sm_version;
char sm_community[SNMPD_MAXCOMMUNITYLEN];
u_int sm_context;