mcst-linux-kernel/patches-2024.06.26/nut-2.7.4/0001-bug-64906-nut-2.7.4.patch

21 lines
914 B
Diff

diff --git a/drivers/apc-mib.c b/drivers/apc-mib.c
index 59eab70..bb905b7 100644
--- a/drivers/apc-mib.c
+++ b/drivers/apc-mib.c
@@ -281,8 +281,11 @@ static snmp_info_t apcc_mib[] = {
{ "shutdown.stayoff", 0, 3, ".1.3.6.1.4.1.318.1.1.1.6.2.1.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
/* { CMD_SDRET, 0, APCC_REBOOT_GRACEFUL, APCC_OID_REBOOT, "", SU_TYPE_CMD | SU_FLAG_OK, NULL }, */
+
+
+
- { "shutdown.return", 0, 2, ".1.3.6.1.4.1.318.1.1.1.6.1.1.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
+ { "shutdown.return", 0, 2, ".1.3.6.1.4.1.318.1.1.1.6.2.3.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
{ "test.failure.start", 0, 2, ".1.3.6.1.4.1.318.1.1.1.6.2.4.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
{ "test.panel.start", 0, 2, ".1.3.6.1.4.1.318.1.1.1.6.2.5.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
{ "bypass.start", 0, 2, ".1.3.6.1.4.1.318.1.1.1.6.2.7.0", "", SU_TYPE_CMD | SU_FLAG_OK, NULL },
--
2.16.4