[Nut-upsdev] [patch for 2.2.x] Fix ACL code

Thomas Jarosch thomas.jarosch at intra2net.com
Fri Feb 1 14:30:56 UTC 2008


Hello together,

after upgrading from nut 2.0.4 to 2.2.1, my "ACL all 0.0.0.0/0"
stopped matching. The code to calculate the bitmask was changed,
on x86 it is only valid to do a left shift operation for 0-31 bits.

Please see the attached patch to fix the issue.

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut-2.2.1-fix-ACLs.patch
Type: text/x-diff
Size: 955 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080201/2a04de9e/attachment.patch 


More information about the Nut-upsdev mailing list