summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/snmpd/snmpe.c')
-rw-r--r--usr.sbin/snmpd/snmpe.c3
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);
}