On 2026/11/07 10:34, Wes Hardaker via Net-snmp-coders wrote:
>
> We're starting down the final stretch of releasing Net-SNMP 5.10. The
> first (and maybe last?) release-candidate version is available here:
>
> https://sourceforge.net/projects/net-snmp/files/net-snmp/5.10-pre-releases/
>
> At this point only security fixes or show-stopper patches that have been
> agreed to by multiple developers will be included in future release
> candidates. If no future patches seem needed, then we'll publish 5.10
> in a few weeks after enough people have had the chance to test it.
Probably not a show-stopper, but this fixes --enable-read-only build:
Index: snmplib/snmp_api.c
--- snmplib/snmp_api.c.orig
+++ snmplib/snmp_api.c
@@ -3069,11 +3069,12 @@ _snmp_build(u_char ** pkt, size_t * pkt_len, size_t *
switch (pdu->command) {
case SNMP_MSG_RESPONSE:
netsnmp_assert(0 == (pdu->flags & UCD_MSG_FLAG_EXPECT_RESPONSE));
-#ifndef NETSNMP_NOTIFY_ONLY
+#if !defined(NETSNMP_NOTIFY_ONLY) && !defined(NETSNMP_NO_WRITE_SUPPORT)
NETSNMP_FALLTHROUGH;
+#endif
+#ifndef NETSNMP_NOTIFY_ONLY
case SNMP_MSG_GET:
case SNMP_MSG_GETNEXT:
- NETSNMP_FALLTHROUGH;
#endif /* ! NETSNMP_NOTIFY_ONLY */
#ifndef NETSNMP_NO_WRITE_SUPPORT
case SNMP_MSG_SET:
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders