artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103df56
)
Now that MIBDECL() fills in bo_n, no need to call smi_oidlen() anymore.
author
martijn
<martijn@openbsd.org>
Sun, 12 Nov 2023 20:07:48 +0000
(20:07 +0000)
committer
martijn
<martijn@openbsd.org>
Sun, 12 Nov 2023 20:07:48 +0000
(20:07 +0000)
OK tb@
usr.sbin/snmpd/smi.c
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/smi.c
b/usr.sbin/snmpd/smi.c
index
e10717a
..
423bf5c
100644
(file)
--- a/
usr.sbin/snmpd/smi.c
+++ b/
usr.sbin/snmpd/smi.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: smi.c,v 1.3
4 2023/11/12 20:04:35
martijn Exp $ */
+/* $OpenBSD: smi.c,v 1.3
5 2023/11/12 20:07:48
martijn Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@
-213,7
+213,6
@@
smi_mibtree(struct oid *oids)
for (i = 0; oids[i].o_oid[0] != 0; i++) {
oid = &oids[i];
- smi_oidlen(&oid->o_id);
if (oid->o_name != NULL) {
if ((oid->o_flags & OID_TABLE) && oid->o_get == NULL)
fatalx("smi_mibtree: invalid MIB table");