]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/pick_address: check if address in subnet all public address 57589/head
authornmordech@redhat.com <nmordech@redhat.com>
Tue, 2 Apr 2024 15:57:41 +0000 (15:57 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Tue, 21 May 2024 05:20:04 +0000 (05:20 +0000)
commitaaa47e1dcd145ac9909fb2468a3292be33614590
tree485456e50a5c0ba58f5546082f344e02d75b2afc
parentf12dc732a2f26e4901205f2bb13220e1c845693a
common/pick_address: check if address in subnet all public address

When mon trying to check if osd joining within subnet address,
it will check only the first subnet and not the rest of the subnets.
this fix will loop over all the other subnet for checks.

Fixes: https://tracker.ceph.com/issues/65186
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit 3e2ef5ec2be7a9662458db63fa1bcac08611d727)
src/common/pick_address.cc