Displaying 2 results from an estimated 2 matches for "cmd_list_len".
2011 May 19
2
Scheduling NUT 2.6.1
Fellows,
time has come for a new NUT release: I'm planning on 2.6.1 next week (max
Friday 27), and I'm currently processing remaining patches.
If you have some more on your side, please send in.
cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer -
2013 Jul 03
1
bcmxcp: Patch for using command map if present to control commands added by dstate_addcmd
...upsdebugx(1, "Invalid response received from Command List
block");
+ return FALSE;
+ }
}
}
@@ -1141,6 +1155,7 @@ void upsdrv_initinfo(void)
int iRating = 0, iIndex = 0, res, len;
int ncpu = 0, buf;
int conf_block_len = 0, alarm_block_len = 0, cmd_list_len = 0;
+ bool_t got_cmd_list = FALSE;
/* Init BCM/XCP alarm descriptions */
init_alarm_map();
@@ -1299,11 +1314,13 @@ void upsdrv_initinfo(void)
/* Get information on UPS commands */
if (cmd_list_len)
- init_command_map(cmd_list_len);
-
- dstate_addcmd("shu...