]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fixed several bugs in policies related to IPv6 addresses.
authorJohn Gibson <jgibson@mitre.org>
Sun, 24 Dec 2017 20:48:00 +0000 (15:48 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Sun, 7 Jan 2018 10:13:46 +0000 (05:13 -0500)
commit1d8f684a3cf11c5fc422462790b5a87d5ab5b587
tree02c16b0ea5d20a2125e7f706e2bad0b64d311ad5
parent9f7aeb4bd52bbdaef4ffd0127b38c3084e95a706
rgw: Fixed several bugs in policies related to IPv6 addresses.

The IPv6 conversion was not properly converting the address to host byte
order.
The text conversion of IPv6 addresses was using raw byte values instead of
the converted number. The portions of the addresses were grouped by bytes
instead of 16-bit words. The prefix length was erroneously being rendered
in hex.

http://tracker.ceph.com/issues/20991

Signed-off-by: John Gibson <jgibson@mitre.org>
(cherry picked from commit a25ca37401d1e8dc4349201b9f64aa6990bea0d5)
src/rgw/rgw_iam_policy.cc