diff options
Diffstat (limited to 'usr.sbin/snmpd/smi.c')
-rw-r--r-- | usr.sbin/snmpd/smi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/smi.c b/usr.sbin/snmpd/smi.c index a307b57aa66..d50d5da7884 100644 --- a/usr.sbin/snmpd/smi.c +++ b/usr.sbin/snmpd/smi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smi.c,v 1.23 2018/12/13 10:54:29 martijn Exp $ */ +/* $OpenBSD: smi.c,v 1.24 2019/05/16 05:00:00 martijn Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org> @@ -242,6 +242,12 @@ smi_find(struct oid *oid) } struct oid * +smi_nfind(struct oid *oid) +{ + return (RB_NFIND(oidtree, &smi_oidtree, oid)); +} + +struct oid * smi_findkey(char *name) { struct oid oid; |