summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpe.c
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2007-12-27 20:39:33 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2007-12-27 20:39:33 +0000
commit70704805326f26681ee55bc675c0e3a7f6adf44b (patch)
tree9d6f56cf8fd7a498859e9e07372978325858b3e7 /usr.sbin/snmpd/snmpe.c
parentd8ef502ccab04a0326a8e50c8026a29157d4e2ad (diff)
Make a snmpwalk against snmpd on hppa and macppc work. armish still dont
work. -moj
Diffstat (limited to 'usr.sbin/snmpd/snmpe.c')
-rw-r--r--usr.sbin/snmpd/snmpe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/snmpd/snmpe.c b/usr.sbin/snmpd/snmpe.c
index c11fb327a41..92bed095d7b 100644
--- a/usr.sbin/snmpd/snmpe.c
+++ b/usr.sbin/snmpd/snmpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpe.c,v 1.3 2007/12/07 09:50:51 reyk Exp $ */
+/* $OpenBSD: snmpe.c,v 1.4 2007/12/27 20:39:32 maja Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@vantronix.net>
@@ -499,8 +499,8 @@ snmpe_parse(struct sockaddr_storage *ss,
struct snmp_stats *stats = &env->sc_stats;
struct ber_element *a, *b, *c, *d, *e, *f, *next, *last;
const char *errstr = "invalid message";
- long long ver;
- unsigned long type, req, errval, erridx;
+ long long ver, req;
+ unsigned long type, errval, erridx;
int class, state, i = 0, j = 0;
char *comn, buf[BUFSIZ], host[MAXHOSTNAMELEN];
struct ber_oid o;