]> git.ipfire.org Git - thirdparty/nftables.git/commit
netlink: fix bitmask element reconstruction
authorPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:41 +0000 (14:17 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:41 +0000 (14:17 +0200)
commit08b4600fc361cbab55ae2f89875df7fddf7b657e
tree57faff5ca6f9be394c2a727dea8d96d0ee8061a3
parent7c1ccf819bd3a77518f4fe8970355eb78bd5ee59
netlink: fix bitmask element reconstruction

mpz_scan1() needs to begin scanning at bit 0 and the loop must accept
bit 0 as valid. No more bits were found when ULONG_MAX is returned.

Signed-off-by: Patrick McHardy <kaber@trash.net>
src/netlink_delinearize.c