artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea9a53
)
The OID inside snmpTrapOID is of type NOTIFICATION-TYPE, which does not
author
martijn
<martijn@openbsd.org>
Tue, 12 Dec 2023 20:18:39 +0000
(20:18 +0000)
committer
martijn
<martijn@openbsd.org>
Tue, 12 Dec 2023 20:18:39 +0000
(20:18 +0000)
have a zero appended.
OK tb@
usr.sbin/snmpd/trap.c
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/trap.c
b/usr.sbin/snmpd/trap.c
index
ec96710
..
043799a
100644
(file)
--- a/
usr.sbin/snmpd/trap.c
+++ b/
usr.sbin/snmpd/trap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: trap.c,v 1.
39 2023/11/12 20:02:05
martijn Exp $ */
+/* $OpenBSD: trap.c,v 1.
40 2023/12/12 20:18:39
martijn Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
@@
-46,7
+46,7
@@
trap_init(void)
* Send a coldStart to notify that the daemon has been
* started and re-initialized.
*/
- trap_send(&OID(MIB_coldStart
, 0
), NULL);
+ trap_send(&OID(MIB_coldStart), NULL);
}
int