Hi Chris, 2011/5/20 Chris Adams <[email protected]>
> Once upon a time, Arnaud Quette <[email protected]> said: > > 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. > > I need the following patch for NUT to work with my older PowerWare 9315. > According to the docs linked from the NUT website, some of the info is > only returned on newer models/firmware, and the only way to tell is to > check the length of the returned data. The current bcmxcp driver > assumes everything is there and reads off the end of the returned data. > > This patch checks the length before trying to read the newer items. I > generated it against nut 2.4.3 because that's the version I'm running > (on a RHEL server, pulling from Fedora EPEL), but it looks like that > code has not changed in 2.6. > I've just applied it on the trunk (r3005), bumping both driver and serial sub-driver versions. Thanks for your contribution. Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
