diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2023-11-08 19:50:25 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2023-11-08 19:50:25 +0000 |
commit | e308c7fad609278f3aef1d748f7d920ed5680144 (patch) | |
tree | 2387f87e69e50db297e752c7fc4ec4a51c4817a9 | |
parent | 91a60c91cb8c0e472c7977c91e32f2d811b71ed9 (diff) |
On second thought let's not overwrite sm_pdutype with a hardcoded value
after just setting it, it's a silly idea.
OK tb@
-rw-r--r-- | usr.sbin/snmpd/snmpe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/snmpe.c b/usr.sbin/snmpd/snmpe.c index 1d3e7e2ccb7..669fbd0ac53 100644 --- a/usr.sbin/snmpd/snmpe.c +++ b/usr.sbin/snmpd/snmpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpe.c,v 1.88 2023/03/08 04:43:15 guenther Exp $ */ +/* $OpenBSD: snmpe.c,v 1.89 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); } |