artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d4cb1
)
On second thought let's not overwrite sm_pdutype with a hardcoded value
author
martijn
<martijn@openbsd.org>
Wed, 8 Nov 2023 19:50:24 +0000
(19:50 +0000)
committer
martijn
<martijn@openbsd.org>
Wed, 8 Nov 2023 19:50:24 +0000
(19:50 +0000)
after just setting it, it's a silly idea.
OK tb@
usr.sbin/snmpd/snmpe.c
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/snmpe.c
b/usr.sbin/snmpd/snmpe.c
index
1d3e7e2
..
669fbd0
100644
(file)
--- a/
usr.sbin/snmpd/snmpe.c
+++ b/
usr.sbin/snmpd/snmpe.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: snmpe.c,v 1.8
8 2023/03/08 04:43:15 guenther Exp $
*/
+/* $OpenBSD: snmpe.c,v 1.8
9 2023/11/08 19:50:24 martijn Exp $
*/
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
@@
-760,7
+760,6
@@
snmpe_send(struct snmp_message *msg, enum snmp_pdutype type, int32_t requestid,
msg->sm_errorindex = index;
msg->sm_varbindresp = varbindlist;
- msg->sm_pdutype = SNMP_C_RESPONSE;
snmpe_response(msg);
}